Enabling a Server and Console Logging

Configuring a Server and Console Logging shows how you would complete a basic Syslog configuration. In this example, the default application severity level has not been modified, allowing all applications to forward messages to configured destinations. One Syslog server is configured on IP address 10.1.1.2, logging all messages. Console logging is enabled, but persistent file storage is not.

Click to expand in new window

Configuring a Server and Console Logging

Step Task Command(s)
1 Configure Syslog server 1 and accept default settings (listed in Syslog Server Default Settings). set logging server 1 ip-addr 10.1.1.2 state enable
2 (Optional) Verify that application logging settings are at default values for the enabled server. show logging application all
3 Enable console logging and disable file storage. set logging local console enable file disable
Note

Note

The set logging local command requires that you specify both console and file settings. For example, set logging local console enable would not execute without also specifying file enable or disable.