<include optional="true" file="${catalina.base}/conf/logging-security.xml" />
|
<property scope="system" name="oeLogging.audit.authn.level" value="OFF" />
<property scope="system" name="oeLogging.audit.authz.level" value="OFF" /> |
Value
|
Description
|
OFF
|
No security event logging will be recorded, nor will a log file be created. This is the default value.
|
ERROR
|
Record failure information only.
|
INFO
|
Record both failure and success information.
|
<pattern>%d{HH:mm:ss.SSS}/%r [%thread] %-5level %logger{36} - %msg%n</pattern>
|
<pattern> %d{HH:mm:ss.SSS}/%r ${contextName} %X{OEReq.requestId} %X{OEReq.remoteHost} %X{OESec.eventStatus} %X{OESec.loginPrincipal} - %X{OESec.failReason} - %X{OESec.failDetails}%n
</pattern> |
MDC field name
|
Logging Field Description
|
ABL Application Log Syntax1
|
OESec.eventType
|
The type of Spring Security process being reported: "Authentication"
|
%X{OESec.evnetType}
|
OESec.eventStatus
|
The results of the client authentication process: { "success" | "failure" }
|
%X{OESec.eventStatus}
|
OESec.loginPrincipal
|
The client asserted account name for authentication
|
%X{OESec.loginPrincipal}
|
OESec.failReason
|
A simple string holding the reason for the authentication failure
|
%X{OESec.failReason}
|
OESec.failDetails
|
A more verbose string hold additional failure information
|
%X{OESec.failDetails}
|
OEReq.xxxxxx
|
The value of the HTTP Request.
|
%X{OEReq.xxxxxx}
|
OEReqHead.xxxxxx
|
The value of the HTTP Request Header.
|
%X{OEReqHead.xxxxxx}
|
MDC Field Name
|
Logging Field Description
|
ABL Application Log Syntax1
|
OESec.eventType
|
The type of Spring Security process being reported: "Authorization"
|
%X{OESec.eventType}
|
OESec.eventStatus
|
The results of the client authentication process: { "granted" | "denied" }
|
%X{OESec.eventStatus}
|
OESec.authzUserId
|
The authenticated client's account name whose ROLEs are tested for URL access
|
%X{OESec.authzUserId}
|
OESec.failObj
|
The URL resource name being authorized
|
%X{OESec.failObj}
|
OESec.failAttrs
|
The authenticated client's account attributes used for authorizing URL access
|
%X{OESec.failAttrs}
|
OEReq.xxxxxx
|
The value of the HTTP Request.
|
%X{OEReq.xxxxxx}
|
OEReqHead.xxxxxx
|
The value of the HTTP Request Header.
|
%X{OEReqHead.xxxxxx}
|