Previous Topic: Configure Server Log SettingsNext Topic: Configure HttpClient Settings


Configure Log Rolling Settings

The logger configuration settings determine how the CA SiteMinder® SPS manages log rolling. You can enable log rolling based on one of the following mechanisms:

Follow these steps:

  1. Navigate to Administration, Logger.
  2. Complete the following fields in the Logger Configuration section:
    Append to Log File

    Specifies how the CA SiteMinder® SPS manages the log file. If you select this option, the CA SiteMinder® SPS appends new log messages to the existing log file when it starts. If you do not select this option, the CA SiteMinder® 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.

    Log Rotation Type

    Specifies the log rolling mechanism.

    Default: OnSize

    Maximum File Size

    Specifies the maximum size of the log file after which the CA SiteMinder® SPS must create a new log file. The CA SiteMinder® SPS displays this option only if you have selected Log Rotation Type as onFileSize.

    Default: 1 MB

    Maximum Backup Index

    Defines the maximum number of log files that the CA SiteMinder® SPS creates. If the number of log files exceeds the maximum number that is specified, the CA SiteMinder® SPS deletes the oldest log file and creates a new log file. The CA SiteMinder® SPS displays this option only if you have selected Log Rotation Type as onFileSize.

    Default: 10

    Rollover Schedule

    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

    Date Pattern

    Specifies the date when the CA SiteMinder® SPS created a logfile. The CA SiteMinder® SPS supports all the log4j date pattern strings. The CA SiteMinder® SPS displays this option only if you have selected Log Rotation Type as onAge.

    Default: '.'yyyy-MM

    Log File Name

    Specifies the name of the log file.

    Default: server.log

  3. Click Save.