Contents
[log] Section
Configuration Server supports the common log options described in [log] Section.
Debug Log Options
The options in this section enable you to generate Debug logs containing information about specific operations of an application.
x-dblib-debug
Default Value: 0
Valid Values:
0 | Log records are not generated. |
1–5 | Log records are generated. The higher the value, the more log records are generated. |
Changes Take Effect: Immediately Generates Debug log records about DB Client operations of the application.
x-dblib-sql
Default Value: 0
Valid Values:
0 | Log records are not generated. |
1–5 | Log records are generated. |
Changes Take Effect: After restart
Generates Debug log records with additional output from the thread used for access to the Configuration Database.
x-stat
Default Value: Configuration Server’s log path configured under the log section
Valid Values: Any pre-existing file path
Changes Take Effect: Immediately
Specifies the log path for Configuration Server stat logs. If not provided, stat logs are generated in the directory where CS is installed.
x-stat-print-interval
Default Value: 0
Valid Values: 0 or any positive integer
Changes Take Effect: For the next scheduled printout
Specifies the interval (in seconds) between each logging printout of the statistics.
When the statistics printout interval is set, all statistics log entries are written in a separate log file with the suffix _stat in the file name and this file is placed in the same directory as the regular log file. The default value 0 (zero) means that the feature is disabled.
- The statistics log file is created and updated only if the following two conditions are met:
- The verbose option is set to debug or all.
- File logging is configured for the regular logs.
x-stat-print-segment
Default Value: Same as the value set in the segment option
Valid Values:
false | No segmentation is allowed. |
<number> KB or <number> | Sets the maximum segment size, in kilobytes. The minimum segment size is 100 KB. |
<number> MB | Sets the maximum segment size, in megabytes. |
<number> hr | Sets the number of hours for the segment to stay open. The minimum number is 1 hour. |
Changes Take Effect: Immediately
Specifies whether there is a segmentation limit for the statistics log file. If there is, sets the mode of measurement, along with the maximum size. If the current statistics log segment exceeds the size set by this option, the file is closed and a new one is created. This option is ignored if log output is not configured to be sent to a statistics log file.
If this option is not configured, the default value of this option will be the same as the value set in the segment option.