Veritas NetBackup™ Logging Reference Guide
- Using logs
- About unified logging
- About legacy logging
- About global logging levels
- 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
- Java-based administration console 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.
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.
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:
bpsetconfig> MAX_LOGFILE_SIZE = 512
bpsetconfig> MAX_NUM_LOGFILES = 4
A complete description of bpsetconfig is in the NetBackup Commands Reference Guide.