Syntax
logfile save
Views
Any view
Predefined user roles
2: System level
Usage guidelines
You can specify the directory to save the security log file with the info-center logfile switch-directory
command.
All contents in the log file buffer will be cleared after they are successfully saved into the log file.
Examples
# Save the contents in the log file buffer into the log file.
<Sysname> logfile save
The contents in the log file buffer have been saved to the file flash:/logfile/logfile.log.
Related commands
info-center logfile enable
•
•
info-center logfile switch-directory
reset logbuffer
Use the reset logbuffer command to reset the log buffer contents.
Syntax
reset logbuffer
Views
User view
Predefined user roles
network-admin
Examples
# Reset the log buffer contents.
<Sysname> reset logbuffer
Related commands
display logbuffer
terminal logging level
Use the terminal logging level command to set the lowest level of the logs that can be output to the current
terminal.
Use the undo terminal logging level command to restore the default.
Syntax
terminal logging level severity
86