444
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 to a log file.
<Sysname> logfile save
The contents in the log file buffer have been saved to the file cfa0:/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
Examples
# Clear the log buffer.
<Sysname> reset logbuffer
Related commands
display logbuffer
security-logfile save
Use security-logfile save to manually save security logs from the security log file buffer to the security log
file.
Syntax
security-logfile save
Views
Any view
Predefined user roles
security-audit
Usage guidelines
The system clears the security log file buffer after saving security logs to the security log file automatically
or manually.