Configure the log4j2.properties file
Learn what can be configured in the log4j2.properties file.
sovosJcoServer.log always contains the latest file. Files with higher numbers contain earlier content.
The following image shows the default contents of the log4j2.properties file:
The following table lists the properties that can be configured in the log4j2.properties file:
Do not modify any other properties in the log4j2.properties file.
| Parameter | Description | Property to Edit | Default |
|---|---|---|---|
| <Loglevel> | Determines how much data is logged. | filter.threshold.levellogger.rolling.level | ERROR |
| <Nameoflogfile> | The name of the files in which log content is stored. | property.filename | sovosJcoServer.log |
| <Max file size> | Determines how large a file can become before a new file is created. | appender.rolling.policies.size.size | 50MB |
| <Max number of files> | Determines how many files will be stored. If the maximum number of file size is reached, the oldest files will be zipped with a timestamp to keep track of all the logs. | appender.rolling.strategy.max | 10 (for a total of 10 files) |
