The logger configuration settings determine how the SPS manages log rolling. You can enable log rolling based on one of the following mechanisms:
Follow these steps:
Specifies how the SPS manages the log file. If you select this option, the SPS appends new log messages to the existing log file when it starts. If you do not select this option, the SPS rolls over the existing log file and creates a log file for new log messages when it starts. By default, this option is enabled.
Specifies the log rolling mechanism.
Default: OnSize
Specifies the maximum size of the log file after which the SPS must create a new log file. The SPS displays this option only if you have selected Log Rotation Type as onFileSize.
Default: 1 MB
Defines the maximum number of log files that the SPS creates. If the number of log files exceeds the maximum number that is specified, the SPS deletes the oldest log file and creates a new log file. The SPS displays this option only if you have selected Log Rotation Type as onFileSize.
Default: 10
Specifies the class name that defines the rollover schedule based on the selected log rotation type.
Default for OnAge Log Rotation Type: org.apache.log4j.DailyRollingFileAppender
Default for OnSize Log Rotation Type: org.apache.log4j.DailyRollingFileAppender
Specifies the date when the SPS created a logfile. The SPS supports all the log4j date pattern strings. The SPS displays this option only if you have selected Log Rotation Type as onAge.
Default: '.'yyyy-MM
Specifies the name of the log file.
Default: server.log
| Copyright © 2012 CA. All rights reserved. |
|