Logging User Activity in audit.log
By default, the audit.log captures:
• User login
• User impersonate
Modify the logging level of the systemlogger.xml file to provide additional information about a user’s activity in the Portal. You can set the level to info to capture only what a user deletes OR set it to debug to capture all the user activity (including all deletes).
Logging Only What a User Deletes
To log all deletes made by a user in audit.log, edit the following file:
Linux: /opt/aptare/portalconf/systemlogger.xml
Windows: C:\opt\aptare\portalconf\systemlogger.xml
<logger name="com.aptare.sc.gwt.shared.server.GwtSpringAdapter" additivity="false">
<level value="info"/>
<appender-ref ref="SECURITY" />
</logger>
<logger name="com.aptare.sc.presentation.filter.AuthorizationFilter" additivity="false">
<level value="info"/>
<appender-ref ref="SECURITY" />
</logger>
Logging All User Activity
To log all the activity of a user (including what they delete) in audit.log, edit the following file:
Linux: /opt/aptare/portalconf/systemlogger.xml
Windows: C:\opt\aptare\portalconf\systemlogger.xml
<logger name="com.aptare.sc.gwt.shared.server.GwtSpringAdapter" additivity="false">
<level value="debug"/>
<appender-ref ref="SECURITY" />
</logger>
<logger name="com.aptare.sc.presentation.filter.AuthorizationFilter" additivity="false">
<level value="debug"/>
<appender-ref ref="SECURITY" />
</logger>