How to enable audit log

Feb 17, 2015 at 1:48 PM
Dear,

I want to get some audit log, but it seems there is no audit log in db only error log.
so how to enable mrcms to log audit log.


thanks very much.

Li Lei
Coordinator
Feb 17, 2015 at 2:00 PM
Hi Li Lei,

There is no specific audit, but there is a notification log - these are the notifications that occur upon specific events and are stored in /Admin/Notification under system -> notifications

By default Mr CMS notifies users when pages are edited, added or deleted. You can add your own notifications as per https://www.mrcms.com/documentation/how-to/add-an-admin-notification

Mr CMS has events in it which you can hook up to do log whatever you want.

Cheers,
Will
Feb 17, 2015 at 2:04 PM
Hi Will

Thank you very much.

But I still want to know is there any way to insert a log into database when some visit my web site?

thanks
Li Lei
Feb 17, 2015 at 2:04 PM
Hi Will

Thank you very much.

But I still want to know is there any way to insert a log into database when some visit my web site?

thanks
Li Lei
Coordinator
Feb 17, 2015 at 2:07 PM
Are you wanting user stats? What is it you're trying to achieve?
Feb 17, 2015 at 2:11 PM
I just want to know how many people visit my web site, it is simple function .
but It becomes a little complicated when I use Mr CMS, so any suggestion?

thanks
Li Lei
Coordinator
Feb 17, 2015 at 2:13 PM
Use Google Analytics.
Feb 17, 2015 at 2:15 PM
I will try it

Thank you very much.
Li Lei