PingDirectory

Enabling or disabling a default log publisher

You can enable or disable any log publisher available on the PingDirectory server using the dsconfig tool.

About this task

By default, the following loggers are disabled and should only be enabled when troubleshooting an issue on the server:

  • Expensive Operations Access Logger

  • File-Based Audit Logger

  • File-Based Debug Logger

  • Successful Searches with No Entries Returned

Steps

  • To enable an access log publisher, run dsconfig with the set-log-publisher-prop subcommand.

    Example:

    In this example, the Expensive-Operations Access Logger is enabled, which records only those access log messages that take 1000 milliseconds or longer.

    $ bin/dsconfig set-log-publisher-prop \
      --publisher-name "Expensive Operations Access Logger" --set enabled:true