The default Log4j2 configuration writes log output to 2 files:
|app.log||The main application log with information about the startup/shutdown process and with information about errors.|
|audit.log||The audit log containing the actions taken by the user for managing the configuration via the Admin application.|
The log output is formatted according to a conversion pattern defined using a PatternLayout.
Mapped Diagnostic Context (MDC)
The 3DS Admin application uses Mapped Diagnostic Context (MDC) to expose additional information available for log output.
Exposed info is the
logged user Account ID, the
logged user Session ID and the
logged user remote address.
You can use information exposed via MDC in your log output by using the following conversion pattern:
For more details about conversion patterns please refer to the Log4j PatternLayout documentation.
Use your own configuration
Although not recommended, you can use your own Log4j configuration.
To do so, you have to override the
logging.config property in 3DS Admin Configuration Properties which specifies the location of the log4j configuration.