Setting the duration and level for log files
The amount of information logged and how long it is retained is controlled by the following NetBackup configuration parameters:
The length of time NetBackup retains debug logs. This setting affects all debug log files that NetBackup generates, not only the Vault debug logs.
Vault logging level. Cohesity recommends that you use a debug level of 5 when you generate logs that you send to Cohesity for troubleshooting purposes. You can set the debug level to 5 for all Vault sessions or you can use the -verbose option on the vltrun command in the Vault policy that initiates the Vault job.
To set the duration and level for log files
- On the left, select Host > Host properties.
- Select the primary server, then select Connect.
- Select Logging.
- Enter a value for Keep logs for. Enter the length of time to retain the NetBackup log files. This setting applies to all NetBackup logs, including but not limited to the Vault logs.
- Enter a value for Keep Vault logs for. The logging level corresponds to the bp.conf entry VAULT_VERBOSE = level on UNIX systems. If this value is not specified in the bp.conf entry, then the default verbose level is set to 5.