# Log management with ansible

**URL:** <https://forum.ansible.com/t/log-management-with-ansible/38930>\
**Category:** Get Help\
**Created:** [December 5, 2024, 7:44pm UTC](https://forum.ansible.com/t/log-management-with-ansible/38930 "2024-12-05T19:44:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexb81](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alexb81/32/5126_2.png) [@alexb81](https://forum.ansible.com/u/alexb81)\
**Post date:** [December 5, 2024, 7:44pm UTC](https://forum.ansible.com/t/log-management-with-ansible/38930/1 "2024-12-05T19:44:56Z")

</div>

Hello,

At the moment, we’re running a small ansible project, using its native log file.  
However, since we use a lot of roles, this execution log becomes particularly difficult to read. So we came up with an idea, good or bad, you tell me. 🙂

Is it possible that instead of an output file, I get a new file every time I enter an input-role? This would allow me to quickly (I hope) see when I’ve lost a machine and why.  
It could also be a module for log management, a bit like printf.

I hope I’ve made myself clear

Thank you for your insights into better management

---

<div class="post-metadata">

**Author:** ![bcoca](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bcoca/32/9269_2.png) [@bcoca](https://forum.ansible.com/u/bcoca)\
**Post date:** [December 5, 2024, 8:34pm UTC](https://forum.ansible.com/t/log-management-with-ansible/38930/2 "2024-12-05T20:34:34Z")

</div>

A custom callback plugin is probably a better option.

---

<div class="post-metadata">

**Author:** ![jrglynn2](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@jrglynn2](https://forum.ansible.com/u/jrglynn2)\
**Post date:** [December 5, 2024, 8:39pm UTC](https://forum.ansible.com/t/log-management-with-ansible/38930/3 "2024-12-05T20:39:58Z")

</div>

[Ansible ARA](https://ara.recordsansible.org) is something I keep meaning to look into, as it seems to provide robust logging/lookup features.

I have no experience with it - it is something people keep mentioning, and something on my list to eventually look into.

---

<div class="post-metadata">

**Author:** ![alexb81](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alexb81/32/5126_2.png) [@alexb81](https://forum.ansible.com/u/alexb81)\
**Post date:** [December 8, 2024, 9:15am UTC](https://forum.ansible.com/t/log-management-with-ansible/38930/4 "2024-12-08T09:15:02Z")

</div>

Thanks, I’ll have a look at your links

Have a nice day

---

<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:** [January 7, 2025, 9:15am UTC](https://forum.ansible.com/t/log-management-with-ansible/38930/5 "2025-01-07T09:15:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
