snaplock log modify

Modify audit log configuration for a Vserver.

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The snaplock log modify command modifies the SnapLock log configuration of the Vserver. Log volume, maximum size of log file, and default retention period can be modfied. If the log volume is modified, then the active log files in the existing log volume is closed and the log volume is marked as disabled for logging. The new log volume is enabled for logging.

Parameters

-vserver <vserver name> - Vserver Name
Specifies the name of the Vserver for which the SnapLock log configuration needs to be modified.
[-volume <volume name>] - Log Volume Name
Specifies the new log volume that is configured for this Vserver for logging.
[-max-log-size {<integer>[KB|MB|GB|TB|PB]}] - Maximum Size of Log File
Specifies the new value for maximum log file size.
[-default-retention-period {{<integer> seconds|minutes|hours|days|months|years} | infinite}] - Default Log Record Retention Period
Specifies the new value for default retention period.

Examples

		    cluster1::> snaplock log modify -volume vol1 -vserver vs1 -max-log-size 15MB
		    [Job 48] Job succeeded: SnapLock log modified for Vserver "vs1".