<p>We've discussed the ability to have an "audit trail" of actions for a given user in Craft, so you can see exactly who did what, where and when, but given that it's a relatively minor use-case and would have a potential performance impact, it would either be a config setting turned off by default or a first or third-party plugin.</p>

CC BY-SA 3.0
2014-06-20T22:14:13.020Z
2014-06-20T22:14:13.020Z
Brad Bell
<p><a href="https://plugins.craftcms.com/activity-logs" rel="nofollow noreferrer">https://plugins.craftcms.com/activity-logs</a></p>
<p>This plugin records the more low-level HTTP request data (i.e not Craft specific events). It does however save action name - when applicable - and allows for labeling it and filtering by it.</p>
<p>The user has full control over which requests are recorded both through the Settings page (for more general filtering, e.g Control Panel, Site, Actions Only etc.) or a more advanced programmatic request filter that you can tailor to your needs.</p>
<p>Full disclosure: I'm the author.</p>

CC BY-SA 4.0
2023-05-07T07:40:59.310Z
2023-05-07T07:53:02.940Z
2023-05-07T07:53:02.940Z
Matanya
<p>I don't know of a plugin that exists expressly for this purpose, but you could combine <a href="https://github.com/themusicman/lumberjack/" rel="noreferrer">LumberJack</a> (logging plugin) with <a href="http://buildwithcraft.com/docs/plugins/events-reference" rel="noreferrer">Craft's numerous events</a> to make this happen with your own plugin. You can log from within said plugin or even in your Craft templates.</p>

<p>Take a look at the event reference and see if there's enough there to satisfy your client's needs. Creating your plugin should be pretty straightforward.</p>

<p>It may also be worth noting that Craft's logs are available from the control panel at <code>/admin/utils/logs</code>. These are developer-centric errors and warnings though, not a record of specific user actions.</p>

CC BY-SA 3.0
2014-06-19T16:21:29.243Z
Thanks for the prompt reply! It looks like the only thing that might be missing is events for when settings are changed, and logouts. Is the documentation generally up to date?
epocsquadron
CC BY-SA 3.0
2014-06-19T16:27:59.490Z
Yes, the documentation stays up to date as far as I can tell. I had a peek at `SystemSettingsService` and `SystemSettingsController` and I don't see any undocumented events. You might submit a feature request on Google+ for hooks around settings changes, unless I'm mistaken and they're already in there somewhere!
Matt Stein
CC BY-SA 3.0
2014-06-19T16:07:50.510Z
2014-06-19T16:19:00.237Z
2014-06-19T16:19:00.237Z
Matt Stein
<p>I am considering a purchase of Craft Pro in place of a new ExpressionEngine build for a client. One of the client's requirements is that there be a comprehensive set of logs like Audit Pro of what each user is doing (logging on, deleting entries, changing settings) and when. Is that data logged in Craft Pro, or is there a plugin that would accomplish that functionality?</p>

<users>
Comprehensive logging of user actions with Craft Pro?
# Comprehensive logging of user actions with Craft Pro?

(Asked by: username_0 on 2014-06-19)

I am considering a purchase of Craft Pro in place of a new ExpressionEngine build for a client. One of the client's requirements is that there be a comprehensive set of logs like Audit Pro of what each user is doing (logging on, deleting entries, changing settings) and when. Is that data logged in Craft Pro, or is there a plugin that would accomplish that functionality?

**Tags:** users

---

## 3 answers

### Answer by username_3 on 2014-06-19. Score: 7 | Accepted answer

I don't know of a plugin that exists expressly for this purpose, but you could combine [LumberJack](https://github.com/themusicman/lumberjack/) (logging plugin) with [Craft's numerous events](http://buildwithcraft.com/docs/plugins/events-reference) to make this happen with your own plugin. You can log from within said plugin or even in your Craft templates.

Take a look at the event reference and see if there's enough there to satisfy your client's needs. Creating your plugin should be pretty straightforward.

It may also be worth noting that Craft's logs are available from the control panel at `/admin/utils/logs`. These are developer-centric errors and warnings though, not a record of specific user actions.

> **Comments:**
> **username_0**: Thanks for the prompt reply! It looks like the only thing that might be missing is events for when settings are changed, and logouts. Is the documentation generally up to date?  
> **username_3**: Yes, the documentation stays up to date as far as I can tell. I had a peek at `SystemSettingsService` and `SystemSettingsController` and I don't see any undocumented events. You might submit a feature request on Google+ for hooks around settings changes, unless I'm mistaken and they're already in there somewhere!  

---

### Answer by username_1 on 2014-06-20. Score: 2

We've discussed the ability to have an "audit trail" of actions for a given user in Craft, so you can see exactly who did what, where and when, but given that it's a relatively minor use-case and would have a potential performance impact, it would either be a config setting turned off by default or a first or third-party plugin.


---

### Answer by username_2 on 2023-05-07. Score: 2

<https://plugins.craftcms.com/activity-logs>

This plugin records the more low-level HTTP request data (i.e not Craft specific events). It does however save action name - when applicable - and allows for labeling it and filtering by it.

The user has full control over which requests are recorded both through the Settings page (for more general filtering, e.g Control Panel, Site, Actions Only etc.) or a more advanced programmatic request filter that you can tailor to your needs.

Full disclosure: I'm the author.


---

