Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

Management Audit Log is disabled by default.
To enable Management Audit Log please edit the configuration file (logback.xml replacing log4j.properties since SSO 9.0)

Configuring via logback.xml file (SSO 9.x and newer)

...

Code Block
themeDefault
<configuration>
...
    <property name="MANAGEMENT_AUDIT_LOG_PATTERN"
            value="%d{'yyyy-MM-dd HH:mm:ss,SSS'} %msg %diagex%nopex%n" />
...
    <appender name="MANAGEMENT_AUDIT_FILE" class="com.ubisecure.log4j.DailyFileAppenderch.qos.logback.core.rolling.RollingFileAppender">
       <File>logs/management_audit</File>         <layout<encoder class="ch.qos.logback.classic.PatternLayout">
                       <pattern>${MANAGEMENT_AUDIT_LOG_PATTERN}</pattern>
            </layout>        </encoder>
        <!-- >file>management_audit.log</file-->
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_FOLDER}/management_audit.%d{yyyy-MM-dd}.log</fileNamePattern>
...
        </rollingPolicy>
    </appender>
...
</configuration>

Configuring via log4j.properties file (SSO 8.x)


The log4j.properties file should opened with a text editor:

...