Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-20T22:14:13.020Z
Answers.LastActivityDate: 2014-06-20T22:14:13.020Z
Answers.UserDisplayName: Brad Bell
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-07T07:40:59.310Z
Answers.LastActivityDate: 2023-05-07T07:53:02.940Z
Answers.LastEditDate: 2023-05-07T07:53:02.940Z
Answers.UserDisplayName: Matanya
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-19T16:21:29.243Z
Answers.Text: 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?
Answers.UserDisplayName: epocsquadron
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-19T16:27:59.490Z
Answers.Text: 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!
Answers.UserDisplayName: Matt Stein
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-19T16:07:50.510Z
Answers.LastActivityDate: 2014-06-19T16:19:00.237Z
Answers.LastEditDate: 2014-06-19T16:19:00.237Z
Answers.UserDisplayName: Matt Stein
Body: <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>
  
Tags: <users>
Title: Comprehensive logging of user actions with Craft Pro?
ThreadText: # 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.
  
  
  ---
  
  