Page created: 15 Jul 2022 |
Page updated: 22 Dec 2022
You can enable or disable any log publisher available on the server using the dsconfig tool.
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
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