Statistics log is the same as the audit log, except the personal identifying user principal information is not shown.
...
To enable Statistics 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 | ||
---|---|---|
| ||
<configuration> ... <property name="AUDIT_FILE_LOG_PATTERN" value=""%d{'yyyy-MM-dd HH:mm:ss,SSS'}",%msg%n" /> ... <appender name="STATISTICS_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> <marker>statistics</marker> </evaluator> <onMismatch>DENY</onMismatch> <onMatch>NEUTRAL</onMatch> </filter> <encoder> <pattern>${AUDIT_FILE_LOG_PATTERN}</pattern> </encoder> <!-- >file>${UAS_LOG_FILE}_statistics.log</file--> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <fileNamePattern>${UAS_LOG_FILE}_statistics.%d{yyyy-MM-dd}.log</fileNamePattern> ... </rollingPolicy> </appender> ... </configuration> |
...