PingDirectory

Managing the File-Based Error Log Publisher

The Error Log reports errors, warnings, and informational messages about events that occur during the course of the PingDirectory server’s operation.

Each entry in the error log records the following properties (some are disabled by default and must be enabled):

Timestamp

Displays the date and time of the operation. Format: DD/Month/ YYYY:HH:MM:SS <offset from UTC time>

Category

Specifies the message category that is loosely based on the server components.

Severity

Specifies the message severity of the event, which defines the importance of the message in terms of major errors that need to be quickly addressed. The default severity levels are:

  • fatal-error

  • notice

  • severe-error

  • severe-warning

Message ID

Specifies the numeric identifier of the message.

Message

Stores the error, warning, or informational message.

Modifying the File-Based Error Logs

Steps

  • To modify the default File-Based Error Log, use dsconfig.

    Example:

    $ bin/dsconfig set-log-publisher-prop \
      --publisher-name "File-Based Error Logger" \
      --set include-product-name:true --set include-instance-name:true \
      --set include-startup-id:true