Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix linux update command: webapps removed

The management audit log records every add, change and delete action made by all users of the Ubisecure SSO Management application.
Example logs are shown:

...

Enabling management audit logging

Management Audit Log audit log is disabled by default.To enable Management Audit Log please edit the configuration file (log4j.properties)

Configuring via log4j.properties file

...

Note

If you have a SSO cluster installation you need to configure both nodes in the same way.


Enabling in logger configuration

In order to start creating Management audit log events, you need to edit the logger configuration file which resides in the following location in the default installation:

Windows:

Code Block
themeDefault
C:\Program Files\Ubisecure\ubilogin-sso\ubilogin\webappscustom\ubiloginlogging\WEBinclude-INF\log4jlogback.propertiesxml

Linux: 

Code Block
themeDefault
/usr/local/Ubisecureubisecure/ubilogin-sso/ubilogin/webappscustom/ubiloginlogging/WEBinclude-INF/log4jlogback.properties

...

Code Block
themeDefault
log4j.logger.xml

to

...

themeDefault

...

To enable Management audit log please modify the level for com.ubisecure.ubilogin.management

...

 logger from OFF to INFO:

Code Block
  <!-- (6) SSO management audit log. -->
  <!-- Set the level to INFO if you desire to have SSO Management audit file log -->
  <logger name="com.ubisecure.ubilogin.management" level= INFO, ManagementAudit"INFO">
    <appender-ref ref="MANAGEMENT_AUDIT_FILE" />
  </logger>

Details about the logger configuration in Understanding SSO logger configuration.

Enabling in Log Viewer

Edit the following file with a text editor to enable the log in the Log Viewer:

...

Code Block
themeDefault
/usr/local/Ubisecureubisecure/ubilogin-sso/ubilogin/webapps/logviewer/WEB-INF/filesource.properties

...

Code Block
themeDefault
# UAS Management Audit Log
logsource.FileSource.filetype.XX.name = Management Audit
logsource.FileSource.filetype.XX.type = text
logsource.FileSource.filetype.XX.path = C\:\\Program Files\\Ubisecure\\ubilogin-sso\\ubilogin/logs
logsource.FileSource.filetype.XX.filename = management_audit.%YYYY-%MM-%DD.log 

Redeploy and restart

To apply configuration changes please redeploy and restart the Ubisecure SSO by executing:

...

Code Block
themeDefault
/usr/local/Ubisecureubisecure/ubilogin-sso/ubilogin/webapps/config/tomcat/update.sh