<!-- (3) SSO log format settings START -->
<conversionRule conversionWord="diagex" converterClass="com.ubisecure.common.logging.LogExceptionConverter" />
<conversionRule conversionWord="diagmarker" converterClass="com.ubisecure.common.logging.MarkerConverter" />
<conversionRule conversionWord="diagex" converterClass="com.ubisecure.common.logging.LogExceptionConverter" />
<conversionRule conversionWord="diagmarker" converterClass="com.ubisecure.common.logging.MarkerConverter" />
<if condition='property("LOG_CONTEXT").equalsIgnoreCase("sso-api")'>
<then>
<property name="DIAG_LOG_PATTERN" value="%d{'yyyy-MM-dd HH:mm:ss,SSS'} %property{LOG_CONTEXT} %diagmarker %level %X{remote-addr} %X{sub} %msg %diagex%nopex%n" />
</then>
<else>
<property name="DIAG_LOG_PATTERN" value="%d{'yyyy-MM-dd HH:mm:ss,SSS'} %property{LOG_CONTEXT} %diagmarker %level %msg %diagex%nopex%n" />
</else>
</if>
<property name="CONSOLE_LOG_PATTERN" value="${DIAG_LOG_PATTERN}" />
<property name="FILE_LOG_PATTERN" value="${DIAG_LOG_PATTERN}" />
<property name="AUDIT_FILE_LOG_PATTERN" value=""%d{'yyyy-MM-dd HH:mm:ss,SSS'}",%msg%n" />
<property name="MANAGEMENT_AUDIT_LOG_PATTERN" value="%d{'yyyy-MM-dd HH:mm:ss,SSS'} %msg %diagex%nopex%n" />
<property name="PASSWORD_AUDIT_LOG_PATTERN" value="%msg %diagex%nopex%n" />
<!-- (3) SSO log format settings END --> |