Cisco Cisco Prime Unified Provisioning Manager 9.0 Installation Guide
50
Change Log Level
Change Log Level is a CLI tool that temporarily changes the Provisioning Manager log level without restarting Provisioning
Manager. When you restart Provisioning Manager, the log level reverts to the level configured in the dfc.properties file. This
tool changes the log level only for SEP and NICE logs.
Manager. When you restart Provisioning Manager, the log level reverts to the level configured in the dfc.properties file. This
tool changes the log level only for SEP and NICE logs.
To permanently change log level, you must change the value of dfc.log.level in the dfc.properties file located in:
CUPM_INSTALL_DIR/sep/build/bin
and restart Provisioning Manager.
Provisioning Manager logs are stored in:
/mnt/data/cupm/sep/logs
To temporarily change the log level:
Step 1
Log into the Provisioning Manager server as root using SSH.
Step 2
Open the command prompt.
Step 3
Go to the script directory:
cd
CUPM_INSTALL_DIR/sep/ipt/bin
Step 4
Run the following command with the appropriate options to change the log level:
./changelogleve.sh -level
loglevel [APPSERVER | NICE | BOTH]
If
APPSERVER
,
NICE
, or
BOTH
is not specified, the default option of
BOTH
is used.
loglevel can be
DETAIL
,
LOW
,
NORMAL
,
HIGH
, or
EMERGENCY
.
Show Tech
Show Tech is a CLI tool that collects required troubleshooting information in a single compressed archive file.
While collecting the troubleshooting data, and before writing to the output directory, the tool checks that at least 100 MB of
free disk space is available on the target drive. During data collection, if 100 MB of free disk space is not available, the tool will
abort (with an appropriate message) and clean up the drive, thereby preventing the risk of consuming too much disk space. We
recommend that you refine the date range options to limit the data to be collected, and rerun the tool.
free disk space is available on the target drive. During data collection, if 100 MB of free disk space is not available, the tool will
abort (with an appropriate message) and clean up the drive, thereby preventing the risk of consuming too much disk space. We
recommend that you refine the date range options to limit the data to be collected, and rerun the tool.
To collect troubleshooting information in a single compressed archive file:
Step 1
Log into the Provisioning Manager server as root using SSH.
Step 2
Open the command prompt.
Step 3
Go to the script directory:
cd
CUPM_INSTALL_DIR/sep/build/bin
Step 4
Enter the following command with the appropriate options:
./showtech.sh -start
START_DATE -end END_DATE [options]
where:
- START_DATE is the starting date and time in YYYY-MM-DD HH:MM format.
- END_DATE is the ending date and time in YYYY-MM-DD HH:MM format.
Options include:
- outputDir
—output directory; the default is the OS temp directory.
- component
COMPONENT—component data to collect (
ALL
|
DEPLOYMENT
|
LOGS
|
ORDER
|
SYSTEM
); the default is
ALL
.