There are a few different ways to activate an LDAP trace.
- To activate the trace on startup of the task, either add the debug level to the procedure for the started task or add the debug information to the console command when starting the procedure.
Example of setting trace information in procedure:
// PARM='PGM slapd -d ALL -f ./slapd.conf -d &DEBUG'
Example of setting trace information during start command:
S ldapproc,DEBUG=ALL
- To dynamically activate the trace, issue the following modify console command:
F ldapproc,SET,DEBUG,ALL
Debugging can be turned off at any time with the following console command:
F ldapproc,SET,DEBUG,0