Magnolia 4.5 reached end of life on June 30, 2016. This branch is no longer supported, see End-of-life policy.
Audit trail allows an administrator to keep track of user actions. The default implementation is based on log4j and the files used for logging can therefore be configured in any way you like. Magnolia also provides a Log Viewer tool, located in the Tools menu, to visualize these and other log files.
This feature is configured in two places,
log4j.xml file and in the application configuration section.
Here you define the loggers to be used by the audit logging. Here is an example extracted from the application log4j:
Here you define the actions that will be logged. You can enable the preconfigured actions and define which logger they should use. Here you also define separators for each action or use the default separator for all of them.
Below is an extract of the output of the logs. Format is: date, action performed, user ID, workspace, nodepath.
copy it will add the original node path and the destination node path.
logout the output differs. Date, user IID, action, and for
login also the IP and the result of the action are logged: