8.10 Log file output property file (logger.properties)

Organization of this section
(1) Format
(2) File name
(3) File storage location
(4) Description
(5) Specifiable parameters

(1) Format

Specify each parameter in the following format:

parameter-name=value

(2) File name

logger.properties

(3) File storage location

This file must be stored in the following directory:

working-directory\conf\

(4) Description

This file specifies the numbers and sizes of message and trace log files. You create this file for each working directory. If this file is not created, the default values are used.

(5) Specifiable parameters

The table below lists and describes the parameters that can be specified and their default values.

Table 8-8 Specifiable parameters and their default values (logger.properties)

No.Parameter nameDescriptionDefault valuePermitted value range
1logger.serverMessageFileCountSpecifies the maximum number of message log files.3Integer from 2 to 16
2logger.serverMessageMaxFileSizeSpecifies the maximum size (in bytes) of a message log file.1048576​Integer from 4096 to 2147483647​
3logger.serverTraceFileCountSpecifies the maximum number of trace log files.3Integer from 2 to 16
4logger.serverTraceMaxFileSizeSpecifies the maximum size (in bytes) of a trace log file.1048576​Integer from 4096 to 2147483647​