Properties for configuring logging activity
Use properties to determine what type of information and how much is written to the broker, gateway, and target component log files.
LogLevel
The log level determines the types of entries and how much information is added to the log file. Default value is 2.
Logging level | Description |
---|---|
0 | Minimal logging. |
1 | Error |
2 | Info |
4 | Debug information |
Note: Use LOGLEVEL= 4 only by request from HCL software support.
LogRotation
Controls the period after which an older log file is overwritten. Log rotation can be disabled. Default value is Weekly.
A four-column table that shows the LogRotation parameter values and their definitions.
LogRotation | Description | Suffix for hourly rollover | Suffix for daily rollover |
---|---|---|---|
Daily | Overwrite log files after 1 day | 00H to 23H | Not valid |
Weekly | Overwrite log files after 1 week. | Mon-00H to Sun-23H | Mon - Sun |
Monthly | Overwrite log files after 1 month. | 01-00H to 31-23H | 01 - 31 |
Disabled | LogRotation is disabled | YYYY-MM-DD-hh | YYYY-MM-DD |
LogRollover
Controls the period after which a new log file is started. This period must be shorter than the LogRotation period, therefore not all combinations are valid. LogRollover cannot be disabled. Default value is Daily.
A three-column table that shows the LogRollover parameter values and their definitions.
LogRollover | Description | Comments |
---|---|---|
Hourly | Start a new log file on the hour. | Recommended if the log is written to frequently or when you use a log level higher than 2. |
Daily | Start a new log file every day. | Default setting. |