How to determine what Service Desk Manager (SDM) processes and log levels are enabled from pdm_logstat?
Service Desk Manager 12.x, 14.x and 17.x
All Supported Operating Systems
Running the following command on the SDM server:
pdm_logstat -vL
The output will display the information on what files and the levels pdm_logstat is currently enabled.
For example:
To turn off ALL logging, run the command:
pdm_logstat -r
To turn off select logging entries, run the original logging command without the log level parameter specified.
Example: if the original command was
pdm_logstat -f sqlclass.c 251
or alternatively:
pdm_logstat -f sqlclass.c TRACE
the command to disable the specific logging entry is:
pdm_logstat -f sqlclass.c
To tell if logging is fully deactivated, the following screencap shows a "pdm_logstat -vL" output with all extended logging turned off, which was preceded by a command to turn off the prior logging.
The only output from pdm_logstat -vL which definitively shows that extended logging is turned off is illustrated in the above screencap. One should see only the headers for the output.
This screenshot, depicting an output of type "ALL" with a level value of "0" does NOT constitute the extended logging as turned off.
One must run "pdm_logstat -a" or "pdm_logstat -r" to turn off the logging