1. In the command line, enter bin/dsconfig.
  2. Authenticate to the server by following the prompts.
  3. In the main menu, select the option to configure the log publisher.
  4. In the Log Publisher menu, select the option to create a new log publisher.
  5. Select the Log Publisher type.

    For this example, select File-Based Access Log Publisher.

  6. Enter a name for the log publisher.
  7. Enable it.
  8. Enter the path to the log file, relative to the Directory Server root.

    For this example, logs/disconnect.log.

  9. Select the rotation policy to use for this log publisher.
  10. Select the retention policy to use for this log publisher.
  11. In the Log Publisher Properties menu, select the option for log-connects:false, log-disconnects:true, log-requests:false, and log-results:false.
  12. Enter f to apply the changes.