1. On the command line, type bin/dsconfig.
  2. Authenticate to the server by following the prompts.
  3. On the main menu, select the option to configure the log publisher.
  4. On the Log Publisher menu, select the option to create a new log publisher.
  5. Select the Log Publisher type. In this case, select File-Based Access Log Publisher.
  6. Type a name for the log publisher.
  7. Enable it.
  8. Type the path to the log file, relative to the Directory Proxy Server root. For 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. On the Log Publisher Properties menu, select the option for log-connects:false, log-disconnects:true, log-requests:false, and log-results:false.
  12. Type f to apply the changes.