# Feature needed: option to disable syslog logging

**URL:** <https://forum.ansible.com/t/feature-needed-option-to-disable-syslog-logging/26366>\
**Category:** Ansible Project\
**Created:** [December 21, 2017, 9:06pm UTC](https://forum.ansible.com/t/feature-needed-option-to-disable-syslog-logging/26366 "2017-12-21T21:06:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![piotr.karbowski](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@piotr.karbowski](https://forum.ansible.com/u/piotr.karbowski)\
**Post date:** [December 21, 2017, 9:06pm UTC](https://forum.ansible.com/t/feature-needed-option-to-disable-syslog-logging/26366/1 "2017-12-21T21:06:01Z")

</div>

Hi,

Currently ansible will spam syslog with all of the execution logs. Setting `no_log: True` in `ansible.cfg` is too global and disable much more than the syslog.

It seems that extending a condition in log function of basic.py would do.

I reported that to github issue tracker, but it was closed as user question(?) so let me ask for the feature here.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [December 21, 2017, 9:09pm UTC](https://forum.ansible.com/t/feature-needed-option-to-disable-syslog-logging/26366/2 "2017-12-21T21:09:52Z")

</div>

solution is already in the comment  
[https://github.com/ansible/ansible/issues/34163#issuecomment-353448906](https://github.com/ansible/ansible/issues/34163#issuecomment-353448906)
