Veritas NetBackup™ Logging Reference Guide
- Using logs
- Changing the logging levels
- About unified logging
- About legacy logging
- Backup process and logging
- Media and device processes and logging
- Restore process and logging
- Advanced backup and restore features
- Storage logging
- NetBackup Deduplication logging
- OpenStorage Technology (OST) logging
- Storage lifecycle policy (SLP) and Auto Image Replication (A.I.R.) logging
- NetBackup secure communication logging
- NetBackup proxy helper logging
- NetBackup proxy tunnel logging
- Snapshot technologies
- Locating logs
- NetBackup Administration Console logging
- Using the Logging Assistant
NetBackup web services logging
The NetBackup web services logs are as follows (on the master server only):
UNIX: /usr/openv/logs/nbwebservice
Windows: install path\netbackup\logs\nbwebservice
This log directory contains the web services originator log files. They include, but are not limited to, the following log files:
Table: Web services OIDs and log files
Originator ID | Log file | Description |
---|---|---|
439 |
| NetBackup Web Service |
466 |
| NetBackup Security Service (security web app) |
482 |
| NetBackup Hosts Webservice (hosts web app) |
483 |
| NetBackup Configuration Management Service (web app) |
484 |
| NetBackup Gateway Service (web app) |
485 |
| NetBackup WebSocket Service (NBWSS) (web app) |
487 |
| NetBackup Catalog Web Service (web app) |
488 |
| NetBackup Role-based Access Control (RBAC) Web Service (web app) |
489 |
| NetBackup Admin Web Service (web app) |
The logging for processes with originator IDs (OIDs) can be increased and decreased using the vxlogcfg command located in NetBackup\bin
. This command can be used to add and remove logging for each of the previous processes. See the following examples that use OID 439:
To add logging, use the following command with the -a (add) option:
vxlogcfg -a -p NB -o 439 -s DebugLevel=6
To remove logging, use the following command with the -r (remove) option:
vxlogcfg -r -p NB -o 439 -s DebugLevel=6
If an issue can be easily or quickly reproduced, it can be easier to configure the default log file setting to 6, and then decrease it to the out-of-the-box setting of 1. See the following examples:
To increase logging, use the following command:
vxlogcfg -a -p NB -o Default -s DebugLevel=6
To decrease logging, use the following command:
vxlogcfg -a -p NB -o Default -s DebugLevel=1
Note:
In the previous examples, the -a option was added to both commands because we do not want to remove the default logging, but only change the debug level to the out-of-the-box default level.
Caution:
Always wait at least 1 full minute after changing the log file logging levels as it may take a minute for the changes to be implemented.
Do not leave a high level of logging in place for a long period of time as it can cause the file systems to fill up with logs.
If the OIDs are set to 0 by default, they are not affected when the default logging levels are changed. These OIDs are as follows:
156 - NetBackup ACE/TAO; this logs to any process that needs to utilize an ACE/TAO call
486 - NetBackup proxy helper; this logs to the unified
nbpxyhelper
log file. See NetBackup proxy helper logging.