Take the 2-minute tour ×
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

I don't know of a plugin that exists expressly for this purpose, but you could combine LumberJack (logging plugin) with Craft's numerous events 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.

share|improve this answer
    
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 Jun 19 at 16:21
1  
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 Jun 19 at 16:27

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.