User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 397 System Manual
4.3.11.1 Managing System-level Logging
System-level logging refers to all the procedures to be executed for managing
logging for the entire system. To manage system-level logging:
Enable/disable logging across the entire system, and specify the destination (a
file on the local system or on an external server) where logs are to be
maintained.
Make periodic backups of log files.
You can, at any time, view the current log destination or delete log files from the
NPU flash. After you have enabled/disabled system-level logging and specified the
destination for storing log messages, you can configure logging separately for each
module. This section describes the commands to be used for:
“Enabling System-level Logging” on page 397
“Disabling Logging to File or Server” on page 399
“Displaying System-level Logs” on page 401
“Displaying the Current Log Destination” on page 402
“Making a Backup of Log Files on the NPU Flash” on page 403
“Deleting Backup Log Files from the NPU Flash” on page 405
4.3.11.1.1 Enabling System-level Logging
You can enable logging for the entire system and specify the destination where
logs should be written. The destination can be either written to:
File
External server (Log files are sent to the external server in the Syslog log
format. The Syslog daemon on the external server can save these log messages
in the appropriate format depending upon the server configuration.)
By default, system-level logging is enabled. To view whether the system-level
logging is enabled/disabled for logging to file or server. For details, refer
Section 4.3.11.1.4.