# logging in the client

**URL:** <https://forum.ansible.com/t/logging-in-the-client/22420>\
**Category:** Ansible Project\
**Created:** [August 30, 2016, 10:48am UTC](https://forum.ansible.com/t/logging-in-the-client/22420 "2016-08-30T10:48:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabarinath\_g](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@sabarinath\_g](https://forum.ansible.com/u/sabarinath_g)\
**Post date:** [August 30, 2016, 10:48am UTC](https://forum.ansible.com/t/logging-in-the-client/22420/1 "2016-08-30T10:48:58Z")

</div>

Hi,

I wanted to know Does ansible keep record things execute on client by generating any sort of logs in the client …so later i can go back that and see what changes has been made in particular to that host.

i believe some sort of directives may be configured on file,but i’m running out of time to deep dive now.Hope i will get your input.

---

<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:** [September 20, 2016, 3:34pm UTC](https://forum.ansible.com/t/logging-in-the-client/22420/2 "2016-09-20T15:34:30Z")

</div>

Ansible will log to syslog or systemd, depending on system.

The amount of logging, can be controlled through ansible.cfg or using the no\_log directive to disable it for a task/play.

---

<div class="post-metadata">

**Author:** ![Yorick\_P](https://avatars.discourse-cdn.com/v4/letter/y/bc79bd/32.png) [@Yorick\_P](https://forum.ansible.com/u/Yorick_P)\
**Post date:** [September 20, 2016, 4:47pm UTC](https://forum.ansible.com/t/logging-in-the-client/22420/3 "2016-09-20T16:47:13Z")

</div>

If you run a playbook, you can also use the --diff options, to see what changes. More info see [http://docs.ansible.com/ansible/playbooks\_checkmode.html#showing-differences-with-diff](http://docs.ansible.com/ansible/playbooks_checkmode.html#showing-differences-with-diff)
