Veritas NetBackup™ Logging Reference Guide
- Using logs
- About logs
- About UNIX system logs
- About log retention in NetBackup
- About limiting the size of unified and legacy logs
- About unified logging
- Gathering unified logs for NetBackup
- Types of unified logging messages
- File name format for unified logging
- Originator IDs for the entities that use unified logging
- About changing the location of unified log files
- About rolling over unified log files
- About recycling unified log files
- About using the vxlogview command to view unified logs
- About query strings used with the vxlogview command
- Examples of using vxlogview to view unified logs
- Examples of using vxlogmgr to manage unified logs
- Examples of using vxlogcfg to configure unified logs
- About legacy logging
- UNIX client processes that use legacy logging
- PC client processes that use legacy logging
- File name format for legacy logging
- Directory names for legacy debug logs for servers
- Directory names for legacy debug logs for media and device management
- How to control the amount of information written to legacy logging files
- About limiting the size and the retention of legacy logs
- Configuring the legacy log rotation
- About global logging levels
- Setting retention limits for logs on clients
- Logging options with the Windows Event Viewer
- Troubleshooting error messages in the NetBackup Administration Console
- 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
- Snapshot technologies
- Locating logs
- acsssi logging
- bpbackup logging
- bpbkar logging
- bpbrm logging
- bpcd logging
- bpcompatd logging
- bpdbm logging
- bpjobd logging
- bprd logging
- bprestore logging
- bptm logging
- daemon logging
- ltid logging
- nbemm logging
- nbjm logging
- nbpem logging
- nbproxy logging
- nbrb logging
- NetBackup web services logging
- NetBackup web server certificate logging
- PBX logging
- reqlib logging
- robots logging
- tar logging
- txxd and txxcd logging
- vnetd logging
- Java-based administration console logging
- About the Java-based administration console logging
- Java-based administration console logging process flow
- Setting up a secure channel between the Java-based administration console and bpjava-*
- Setting up a secure channel between the Java-based administration console and either nbsl or nbvault
- Java-based administration console logging configuration on NetBackup servers and clients
- Java-based remote administration console logging on a Windows computer where NetBackup is not installed
- Configuring and gathering logs when troubleshooting Java GUI issues
- Undo logging
Configuring the legacy log rotation
You can specify the maximum file size for a legacy log and the maximum number of log files to retain.
See About log retention in NetBackup.
In the case of legacy logging, NetBackup uses the bp.conf configuration file to set the maximum size of a log file. Use the bpsetconfig command to configure the following bp.conf parameters to do the log settings: MAX_LOGFILE_SIZE and MAX_NUM_LOGFILES
Initially, the bp.conf file does not contain the MAX_LOGFILE_SIZE and MAX_NUM_LOGFILES entries. In this case, the parameters are set to their default values, which are 256 MB and infinite, respectively.
Note:
Beginning in NetBackup 7.7, the robust logging option is enabled by default.
To configure the legacy log rotation
- To change the maximum file size or the maximum number of log files per directory, use the MAX_LOGFILE_SIZE and the MAX_NUM_LOGFILES options. These options are part of the bpsetconfig command that is located in the following directory:
Windows
install_pathNetBackup\bin\admincmd\
UNIX
/usr/openv/netbackup/bin/admincmd/
Use the following UNIX example to set the maximum file size to 512 MB and the maximum number of log files per log directory to 4:
#bpsetconfig
bpsetconfig> MAX_LOGFILE_SIZE = 512
bpsetconfig> MAX_NUM_LOGFILES = 4
bpsetconfig>
CTRL-D
A complete description of bpsetconfig is in the NetBackup Commands Reference Guide.