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
  • To enable an access log publisher, run dsconfig with the set-log-publisher-prop subcommand.

    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