Checking trace levels enabled from 'pdm_logstat'
search cancel

Checking trace levels enabled from 'pdm_logstat'

book

Article ID: 28096

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

How to determine what Service Desk Manager (SDM) processes and log levels are enabled from pdm_logstat? 

Environment

Service Desk Manager 12.x, 14.x and 17.x

All Supported Operating Systems

Resolution

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.

Additional Information

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

See also:  Increase the logging level in the Service Desk stdlog