Save log – Allied Telesis AT-S62 User Manual
Page 216
Chapter 15: Event Log Commands
216
SAVE LOG
Syntax
save log filename=”filename.log” [full]
[module=module] [reverse] [severity=severity]
[overwrite]
Parameters
filename
Specifies the filename for the log. The name can be
up to 16 alphanumeric characters, followed by the
extension “.log”. Spaces are allowed. The filename
must be enclosed in quotes if it contains spaces.
Otherwise, the quotes are optional.
full
Specifies the amount of information stored in the
log. Without this option, the log stores the time,
module, severity, and description for each entry.
With it, each event also includes the name of the
corresponding AT-S62 image subsection which
produced the event, the line number, and the event
ID.
module
Stores events of a particular AT-S62 module. For a
list of modules, refer to Table 1 on page 220.
reverse
Controls the order of the events in the log. Without
this option, the events are stored oldest to newest.
With it, events are stored newest to oldest.
severity
Stores events of a selected severity. Choices are I for
Informational, E for Error, W for Warning, D for
Debug, and ALL for All. The default is informational,
error, and warning. You can specify more than one
severity at a time (for example, E,W).
overwrite
Overwrites the log file in the file system if it already
exists. Without this option, the command displays
an error messages if the file exists.
Description
This command saves the current entries in the event log to a file in the
file system. The parameters in the command allow you to specify which
events you want saved in the log file.
For an example of a log file, refer to SHOW LOG on page 219.