# Deprecation warnings to a log

**URL:** <https://forum.ansible.com/t/deprecation-warnings-to-a-log/28042>\
**Category:** Ansible Project\
**Created:** [July 13, 2018, 11:45am UTC](https://forum.ansible.com/t/deprecation-warnings-to-a-log/28042 "2018-07-13T11:45:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Fennemore](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Post date:** [July 13, 2018, 11:45am UTC](https://forum.ansible.com/t/deprecation-warnings-to-a-log/28042/1 "2018-07-13T11:45:30Z")

</div>

Is it possible to have deprecation warnings written to the logs? Reason being is that it would make upgrading to newer Ansible versions far easier if we had a log of what would be deprecated in current running playbooks.

---

<div class="post-metadata">

**Author:** ![tkuratom](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Post date:** [July 13, 2018, 12:43pm UTC](https://forum.ansible.com/t/deprecation-warnings-to-a-log/28042/2 "2018-07-13T12:43:06Z")

</div>

Not yet, but I’m working on a proposal for ansible 2.8 (2.7 is currently in development so it is the one after the next one) which would do that.

-Toshio

---

<div class="post-metadata">

**Author:** ![francois\_P](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@francois\_P](https://forum.ansible.com/u/francois_P)\
**Post date:** [July 13, 2018, 2:08pm UTC](https://forum.ansible.com/t/deprecation-warnings-to-a-log/28042/3 "2018-07-13T14:08:29Z")

</div>

This will be a very good option 😀 will be really appreciated 🙂
