beautypg.com

HP VMA-series Memory Arrays User Manual

Page 155

background image

AM456-9026A

HP VMA SAN Gateway User’s Guide

155

Specify Log Format

logging format standard logging format welf
no logging format welf

Sets the format in which log messages should be set. The choices are

standard

and

welf

. The

default is

standard

, and the

no

variant resets the format to this.

Specify the Log Firewall

logging format welf fw-name
no logging format welf fw-name

Specifies the firewall name that should be associated with each message logged in WELF format.

If no firewall name is set, the hostname is used by default. Note that neither of these commands

enables WELF logging if it is not already enabled.

Set CLI Command Severity

logging level cli commands

Set the severity level at which CLI commands that the user executes are logged. The default is

info

.

Specify When Logs are Rotated

logging files rotation criteria frequency {daily, weekly, monthly}
logging files rotation criteria size
logging files rotation criteria size-pct

Configure what criteria will be used to decide when log files on local persistent storage should be

automatically rotated. There are two mutually exclusive options: rotate based on time, or based on

when the active log file reaches a certain size threshold. If the latter is chosen, the size of the file is

checked hourly, so if it passes the threshold in the middle of the hour it will not be rotated until the

end of the hour.

Specify Number of Old Log Files Saved

logging files rotation max-num

Configure how many old log files will be kept. If the number of log files ever exceeds this number

(either at rotation time, or when this setting is lowered), the system will delete as many as necessary

to bring it down to this number, starting with the oldest.

This manual is related to the following products: