628 CHAPTER A: T ROUBLESHOOTING A WX SWITCH If you type anything to the console, the typing disables log output tothe console until you press the Enter key.Logging Messages to a Syslog ServerTo send event messages to a syslog server, use the following command:set log server ip-addr [port port-number] severityseverity-level [local-facility facility-level]Use the IP address of the syslog server to which you want messages sent.(See Table 54 on page 624 for information about severity levels.)By default, MSS uses TCP port 514 for sending messages to the syslogserver. You can use the optional port keyword to specify a different portfor syslog messages. You can specify a number from 1 to 65535.Use the optional local-facility keyword to override the default MSSfacility numbers and replace them with one local facility number. Use thenumbers 0 through 7 to map MSS event messages to one of the standardlocal log facilities local0 through local7 specified by RFC 3164.If you do not specify a local facility, MSS sends the messages with theirdefault MSS facilities. For example, AAA messages are sent with facility 4and boot messages are sent with facility 20 by default.For example, the following command sends all error-level event messagesgenerated by a WX to a server at IP address 192.168.153.09 andidentifies them as facility 5 messages:WX1200# set log server 192.168.153.09 severity errorlocal-facility 5success: change accepted.To stop sending log messages to a syslog server, use the followingcommand:clear log server ip-addrSetting Telnet Session DefaultsSession logging is disabled by default, and the event level is set toinformation (info) or higher. To enable event logging to Telnet sessionsand change the default event severity level, use the following command:set log sessions severity severity-level enable(For information on severity levels, see Table 54 on page 624.)