You are here: Reference Manual > lunash Appliance Commands > syslog Commands > syslog severity set Command

lunash syslog Commands

syslog severity set Command

NAME

 syslog severity set - set log service severity threshold

SYNOPSIS

lunash:> syslog severity set -logname <logname> -loglevel <loglevel>

DESCRIPTION

Sets log service severity threshold for events to be logged.

Valid values: emergency, alert, critical, error, warning, notice, info, debug.
These values are arranged from those which produce the fewest log entries to those which produce the most log entries.


Only lunalogs can have severity levels applied.

 

OPTIONS

(Option)  Parameter  Description 
 -logname  -logn <logname>   Log Name (lunalogs)

 -loglevel   -logl <loglevel>   Log Levels (emergency, alert, critical, error, warning, notice, info, debug) 

SAMPLE OUTPUT

[myLuna] lunash:>syslog severity set -logname lunalogs -loglevel error

This command sets the severity level of log messages.
Only messages with the severity of higher than or equal to the new
log level: "error" will be logged.
You must restart syslog using the "service restart syslog" command for
the changes to take effect.


Command Result : 0 (Success)
[myLuna] lunash:>