# no\_log / no\_target\_syslog ??

**URL:** <https://forum.ansible.com/t/no-log-no-target-syslog/20382>\
**Category:** Ansible Developer\
**Created:** [January 29, 2016, 10:56am UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382 "2016-01-29T10:56:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hajo\_Kliemeck](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Post date:** [January 29, 2016, 10:56am UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/1 "2016-01-29T10:56:58Z")

</div>

Hey,

on the documentation its said: “no\_target\_syslog - prevents logging of tasks, but only on the targets, data is still logged on the master/controller”

whats the meaning of log on “master/controller”. syslog, stdout of ansible or both?

thanks!

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [January 29, 2016, 2:16pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/2 "2016-01-29T14:16:11Z")

</div>

I'm not sure what the question is, but hope this clarifies it:

no\_log prevents loggin AND output on both target and  
'master/controller' (no\_log implies no\_target\_syslog).

no\_target\_syslog only prevents logging on the target (its a subset of no\_log).

---

<div class="post-metadata">

**Author:** ![Hajo\_Kliemeck](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Post date:** [January 29, 2016, 2:53pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/3 "2016-01-29T14:53:11Z")

</div>

i will clarify:

without no\_log / no\_target\_syslog it seems that output is displayed on master/controller (console) and logging (syslog) is done on target. NO logging (syslog) is done on master/controller

is this correct?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [January 29, 2016, 2:57pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/4 "2016-01-29T14:57:57Z")

</div>

depends on your setup/configuration, but that would be the 'default'

---

<div class="post-metadata">

**Author:** ![Hajo\_Kliemeck](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Post date:** [January 29, 2016, 3:28pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/5 "2016-01-29T15:28:33Z")

</div>

what do you mean by default?

one case would be master/controller == target but i can not find any other case. any ideas?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [January 29, 2016, 3:40pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/6 "2016-01-29T15:40:53Z")

</div>

default, as settings out of the box? not sure what you are looking for here.

---

<div class="post-metadata">

**Author:** ![Hajo\_Kliemeck](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Post date:** [January 29, 2016, 4:11pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/7 "2016-01-29T16:11:12Z")

</div>

I do not want to log ANYTHING to syslog, regardless of type (master or target), but for debugging purposes i want to display the output of ansible-playbook on master for console executions (e.g. error on task XY with params YY on role ZZ)

---

<div class="post-metadata">

**Author:** ![Hajo\_Kliemeck](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Post date:** [February 2, 2016, 8:15am UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/8 "2016-02-02T08:15:12Z")

</div>

thought about it: something like a no\_syslog option

---

<div class="post-metadata">

**Author:** ![Hajo\_Kliemeck](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Post date:** [February 8, 2016, 12:05pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382/9 "2016-02-08T12:05:52Z")

</div>

push
