You can enable log tracing for token processing, HTTP request and response actions, and API debugging.
-
To view OAuth token processing and full HTTP request and response tracing,
enable the debug trace logger with the following command.
$ bin/dsconfig set-log-publisher-prop \ --publisher-name 'Debug Trace Logger' \ --set enabled:true
-
To enable dadmin API debug logging, use the following
commands:
$ bin/dsconfig create-debug-target \ --publisher-name 'File-Based Debug Logger' \ --target-name com.unboundid.directory.server.http \ --set debug-level:VERBOSE
$ bin/dsconfig create-debug-target \ --publisher-name 'File-Based Debug Logger' \ --target-name com.unboundid.directory.server.extensions.dadmin \ --set debug-level:VERBOSE
$ bin/dsconfig create-debug-target \ --publisher-name 'File-Based Debug Logger' \ --target-name com.unboundid.directory.broker.api \ --set debug-level:VERBOSE
$ bin/dsconfig set-log-publisher-prop \ --publisher-name 'File-Based Debug Logger' \ --set enabled:true