< Home

save logfile

Function

The save logfile command saves the logs in the log buffer to a log file.

Format

save logfile

Parameters

None

Views

User view

Default Level

0: Visit level

Usage Guidelines

Before viewing the current log, you can run the save logfile command to save the current log to the log file.

The log file is saved in the hda1:/log/ directory. You can view the log file by running the dir hda1:/log/ command in the user view.

Example

# Save the logs in the log buffer to the log file.

<sysname> save logfile
Info: Save logfile successfully.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >