586System Log Commands

set log on page 576

set log

Enables or disables logging of WSS and AP events to the WSS log buffer or other logging destination and sets the level of the events logged. For logging to a syslog server only, you can also set the facility logged.

Syntax set log {buffer console current sessions trace} [severity severity-level] [enable disable]

set log server ip-addr[port port-number]severity severity-level[local-facility facility- level]

buffer

Sets log parameters for the log buffer in nonvolatile storage.

console

Sets log parameters for console sessions.

current

Sets log parameters for the current Telnet or console session. These

 

settings are not stored in nonvolatile memory.

server ip-addr

Sets log parameters for a syslog server. Specify an address in dotted

 

decimal notation.

sessions

Sets the default log values for Telnet sessions. You can set defaults for the

 

following log parameters:

 

• Severity

 

• Logging state (enabled or disabled)

 

To override the session defaults for an individual session, type the set log

 

command from within the session and use the current option.

trace

Sets log parameters for trace files.

port port-number

Sets the TCP port for sending messages to the syslog server. You can

 

specify a number from 1 to 65535. The default syslog port is 514.

NN47250-100 (Version 02.51)

Page 586
Image 586
Nortel Networks 2300 Series manual Set log, Severity, Logging state enabled or disabled