Previous Topic: Logging Overview

Next Topic: User Interface Logging

Configure Error Log Location and Rollover

You can specify when Federation Manager refreshes the error log based on an interval of time or on the maximum size of the log file. You can also set the maximum number of error log files allowed.

To specify error log rollover

  1. Open a command window.
  2. Type XPSConfig at the command-line prompt.

    Enter this command exactly as shown in this step because it is case-sensitive on UNIX platforms.

    The Product Menu is displayed.

  3. Enter SM.

    The list of parameters and their current values is displayed.

  4. (Optional) Enter f to filter the list of settings.

    At the Enter Filter prompt enter rollover to find all the settings related to log rollover or file to find all the settings related to the file location.

  5. Enter the number of the log setting you want to modify to manage the error log rollover. The menu appears for the selected setting.

    The following settings are applicable:

    LogFile

    Specifies the default location of the policy server error log, smps.log. If you change the value of this parameter, you must provide a valid full path of the new file.

    LogFilesToKeep

    Represents the number of policy server error logs to keep, including smps.log. Older files will be deleted.

    Limits: Must be an integer.

    LogRolloverDays

    Represents the interval in days between log rollovers on a fixed schedule, for example, every two days. Must be used in combination with the LogRolloverTime setting, which specifies the time of day the log rolls over.

    Limits: Must be an integer.

    LogRolloverInterval

    Represents the fixed interval in hours between log rollovers, for example, every three hours. The time interval is measured from when the Policy Server starts up.

    Limits: Must be an integer.

    LogRolloverOnStart

    Specifies whether the error log is rolled over when the Policy Server starts up. Enter C to toggle the value.

    Limits: TRUE or FLASE.

    LogRolloverSize

    Represents the size in Megabytes of the log file when it triggers a roll over.

    Limits: Must be an integer.

    LogRolloverTime

    Represents the start time of a rollover on a fixed schedule. This parameter is used in combination with #83, the rollover interval in days. For example, the rollover will occur at 10:12 every three days.

    Limits: A string in hh:mm format.

  6. Enter c to change the value.
  7. Enter the new value at the prompt.
  8. Enter q until you return to the system command prompt.

    The value of the parameter is saved.