set logging default

Use this command to set logging default values.

Syntax

set logging default {[facility facility] [severity severity] [port port]}

Parameters

facility facility Specifies the default facility name. Valid values are: local0 to local7.
severity severity Specifies the default logging severity level. Valid values and corresponding levels are:

emergencies (system is unusable)

alerts (immediate action required)

critical conditions

error conditions

warning conditions

notifications (significant conditions)

informational messages

debugging messages

port port Specifies the default UDP port the client uses to send to the server.

Defaults

None.

Mode

All command modes.

Usage

If C2 security mode is enabled, You can not create, modify, or clear a default logging configuration while in Read-Write user mode.

Example

This example shows how to set the Syslog default facility name to local2 and the severity level to 4 (error logging):

System(rw)->set logging default facility local2 severity 4