Site Logging

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/15/2014 6:51:39 PM
Gravatar
Total Posts 4

Site Logging

Is it possible to audit site logging?

Ex.: An user with user management permission alter some information or delete an user. Is it logged somewhere?

4/15/2014 7:22:29 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Site Logging

I'm not sure about user deletion logging, but if you uncheck the "really delete users" flag in Administration, Site Settings, then you won't accidentally lose users if you're concerned of that.

Some features in the system capture last updated datetime/last updated by information in the database, since mojoPortal 2.3.9.5. This was introduced along with the Recent Updates RSS feature. The HTML feature tracks that for sure.

The best thing to do is look at the mp_ tables in the database, if you have that capability, to see if the features you want to audit have those fields in place.

 

4/15/2014 9:03:08 PM
Gravatar
Total Posts 4

Re: Site Logging

Thank you, Jamie.

 

I'm not only concerned by user deletion but also some kind of misbehavior from an user with user management permission.

I tried looking the mp_Users table for "last updated datetime/last updated by information" but those fields doesn't exist to this table.

I've found mp_SystemLog table which seems the kind of structure I was looking for but even after some days testing mojoportal the table is still empty and the user (which triggered the log) column is lacking.

This is a feature I've found on some competitors CMS systems not only on tables but also on Admin UI with categories for filtering like: New Users, Administration, System Exceptions...

This kind of feature has never been requested?

4/16/2014 10:37:36 AM
Gravatar
Total Posts 18439

Re: Site Logging

There is no comprehensive logging of things but there are a few config settings that you can put in user.config to log some things. These were mostly implemented to track when people mess up our demo site since we are letting strangers login as admin there and we don't want people to change the admin password or remove the instructions or product demos on our demo site. occasionally we get repeat offenders messing up our demo site and I have to ban their ip address so this logging was created to help with those problems.

at some point I may implement an add on feature for tracking user interactions with the site in more detail, but for now maybe these will help you some.

<add key="LogFailedLoginAttempts" value="true" />
<add key="LogIpAddressForContentDeletions" value="true" />
<add key="LogIpAddressForPasswordChanges" value="true" />
<add key="LogIpAddressForEmailChanges" value="true" />

 

4/16/2014 10:39:49 AM
Gravatar
Total Posts 18439

Re: Site Logging

note also that by default the log is just a text file at /Data/currentlog.config but you can enable logging to the database instead. The ui for the log is at Administration > System Log

You must sign in to post in the forums. This thread is closed to new posts.