Server Logging Configuration
Similar to the Ocelot agent, the inspectIT Ocelot Configuration Server uses Logback as a library for logging as well. Unlike the logging configuration of the agent, which can be configured using every option listed in Configuration Sources, the default logging configuration of the inspectIT Ocelot Configuration Server can only be manipulated through JVM system properties or environment variables.
The default configuration will log into the console and create three files:
full.log
- includes the complete logaccess.log
- includes only agent request messagesaudit.log
- includes only user interaction messages
The file appenders use the rolling policy with a max file size of 20MB and a history of 30 files.
The following variables can be set to manipulate the default configuration:
Variable | Description |
---|---|
LOG_DIR | Defines where the file output will be stored. |
LOG_CONSOLE_PATTERN | Sets a custom logback pattern for the console output. |
LOG_FILE_PATTERN | Sets a custom logback pattern for the file output. |
Additionally, you can provide your own configuration file through a system property as shown in the Logback Documentation