# Feature Request - Logging

**URL:** <https://discourse.getcockpit.com/t/feature-request-logging/177>\
**Category:** General\
**Created:** [July 24, 2018, 3:13pm UTC](https://discourse.getcockpit.com/t/feature-request-logging/177 "2018-07-24T15:13:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauloamgomes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/pauloamgomes/32/48_2.png) [@pauloamgomes](https://discourse.getcockpit.com/u/pauloamgomes)\
**Post date:** [July 24, 2018, 3:13pm UTC](https://discourse.getcockpit.com/t/feature-request-logging/177/1 "2018-07-24T15:13:01Z")

</div>

Think that having a logging mechanism can improve Cockpit, it could benefit some business cases where is required to have audit of user actions (actions on contents, users, etc…). It can be implemented maybe as an addon (reacting on the internal hooks) or as a core api functionality.

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [July 25, 2018, 2:21pm UTC](https://discourse.getcockpit.com/t/feature-request-logging/177/2 "2018-07-25T14:21:42Z")

</div>

I would love to see this as an addon first … and if it works out well, maybe include it in the core later

---

<div class="post-metadata">

**Author:** ![pauloamgomes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/pauloamgomes/32/48_2.png) [@pauloamgomes](https://discourse.getcockpit.com/u/pauloamgomes)\
**Post date:** [July 25, 2018, 2:23pm UTC](https://discourse.getcockpit.com/t/feature-request-logging/177/3 "2018-07-25T14:23:41Z")

</div>

Yeah, that makes more sense 🕶

---

<div class="post-metadata">

**Author:** ![pauloamgomes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/pauloamgomes/32/48_2.png) [@pauloamgomes](https://discourse.getcockpit.com/u/pauloamgomes)\
**Post date:** [September 9, 2018, 12:34am UTC](https://discourse.getcockpit.com/t/feature-request-logging/177/4 "2018-09-09T00:34:26Z")

</div>

@artur, here it is [https://github.com/pauloamgomes/cockpit-logger-addon](https://github.com/pauloamgomes/cockpit-logger-addon), basically its a wrapper for Monolog library with customization via settings ui and I’m handing most of the relevant events, probably this could be handled in a different way to be in the core, but as an addon believe it does what is required. By the way, think could be interesting to have a few more events (login failure and other errors).

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [September 9, 2018, 8:19am UTC](https://discourse.getcockpit.com/t/feature-request-logging/177/5 "2018-09-09T08:19:50Z")

</div>

Congratulations! Sure, I’m open for suggestions!
