Command logging and diagnostics


Every BMC Database Automation command line tool creates diagnostic log files and files that contain intermediate operations stored in directories under <install_root>/cmdutils/var/log (for example, on Linux, this directory would be /app/clarity/cmdutils/var/log), unless the command is overridden by defining a GA_LOG_DIR environment variable. The directories created incorporate the exec_id argument provided by the caller into the filename so that the caller can locate them.

For example, if the caller executes the following:

run_action.pl https://bdamgr.mycompany.com:8087 2013-MAY-30 /ResetPassword targets.xml

The user can locate the diagnostic log in the directory /app/clarity/cmdutils/var/log/1234/.

Or, if the caller executes the following:

GA_LOG_DIR=/var/log/bda run_action.pl https://bdamgr.mycompany.com:8087 1234 /ResetPassword targets.xml

The user can locate the diagnostic log in the directory /var/log/bda/1234/.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*