logfile save
Use logfile save to manually save logs in the log file buffer into a log file.
Syntax
logfile save
Views
Any view
Predefined user roles
2: System level
Usage guidelines
You can specify the directory to save a log file with the info-center logfile directory command.
The system clears the log file buffer after saving logs from the buffer to a log file automatically or
manually.
Examples
# Manually save logs from the log file buffer into a 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 directory
•
reset logbuffer
Use reset logbuffer to clear the log buffer.
Syntax
reset logbuffer
Views
User view
Predefined user roles
network-admin
mdc-admin
Examples
# Clear the log buffer.
<Sysname> reset logbuffer
Related commands
display logbuffer
232