About robust logging
The Robust logging option indicates to NetBackup to limit the amount of disk space that a log directory consumes. When a log file grows to the specified maximum size, the log file is closed and a new log file is opened. If the new log file causes the maximum number of log files in the directory to be exceeded, the oldest log file is deleted.
The error logs are always created based on the robust logging configuration parameters. However, the following configuration parameter continues to appear when the bpgetconfig command is run:
ENABLE_ROBUST_LOGGING = NO
Regardless of the value of the ENABLE_ROBUST_LOGGING configuration parameter, robust logging is always enabled. Robust logging is enabled for legacy logging for NetBackup servers and clients.
Robust logging functionality comprises the following configuration parameters:
MAX_LOGFILE_SIZE | This configuration parameter specifies the maximum size that you want to set for a log file in MB. The default value for MAX_LOGFILE_SIZE is 50 MB. See MAX_LOGFILE_SIZE option for NetBackup servers and clients for legacy logging. |
MAX_NUM_LOGFILES | This configuration parameter specifies the maximum number of log files that you want to be created in NetBackup. The default value for MAX_NUM_LOGFILES is infinite. See MAX_NUM_LOGFILES option for NetBackup servers and clients for legacy logging. |
Note:
Initially, MAX_LOGFILE_SIZE and MAX_NUM_LOGFILES parameter entries are not present in the output for bpgetconfig. In this case, they are set to their default values. In UNIX, you can update the bp.conf configuration file using the bpsetconfig command to set these parameters to different values. In Windows, you can add the parameters using the bpsetconfig command in the registry.
After an upgrade to NetBackup 7.7 or later, is enabled. This is true even if the setting had been disabled before the upgrade.
After an upgrade to NetBackup 7.7 or later, the MAX_LOGFILE_SIZE is set to a new default.
The following points concern various upgrade scenarios to NetBackup 7.7 or later with respect to MAX_LOGFILE_SIZE:
If robust logging was enabled before the upgrade:
If robust logging was disabled before the upgrade:
After the upgrade, robust logging is enabled with the following configuration settings:
MAX_LOGFILE_SIZE = 50 MB
MAX_NUM_LOGFILES = INFINITE