# log\_plays call back plugin

**URL:** <https://forum.ansible.com/t/log-plays-call-back-plugin/25668>\
**Category:** Ansible Project\
**Created:** [October 3, 2017, 2:37am UTC](https://forum.ansible.com/t/log-plays-call-back-plugin/25668 "2017-10-03T02:37:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjeev\_ganjihal](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sanjeev\_ganjihal](https://forum.ansible.com/u/sanjeev_ganjihal)\
**Post date:** [October 3, 2017, 2:37am UTC](https://forum.ansible.com/t/log-plays-call-back-plugin/25668/1 "2017-10-03T02:37:35Z")

</div>

I have a question with the callback plugin log\_plays.py. Under requirements I see whitelist.

Whitelist in configuration: Can you elaborate on what I should add there?

In ansible.cfg I uncommented **callback\_whitelist = timer, mail…** Anything else that I should do?Can someone please guide me?

I tried copying this log\_plays.py to my controller and tried executing but its not creating any log.

---

<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:** [October 3, 2017, 1:28pm UTC](https://forum.ansible.com/t/log-plays-call-back-plugin/25668/2 "2017-10-03T13:28:34Z")

</div>

you enabled the timer and mail callbacks, not the log\_plays one, just  
remove those and set it to log\_plays.

Here are the docs in case I was not clear.  
[https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/plugins/callback.rst](https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/plugins/callback.rst)
