< Home

save logfile all

Function

The save logfile all command saves the logs in the user log buffer area and diagnostic log buffer area to the user log file and diagnostic log file, respectively.

Format

save logfile all

Parameters

None

Views

User view

Default Level

3: Management level

Usage Guidelines

The logs in the user log buffer area and diagnostic log buffer area are periodically saved to the user log file and diagnostic log file, respectively. The log saving interval varies with the product. To save the logs in the user log buffer area and diagnostic log buffer area to the user log file and diagnostic log file, respectively, run the save logfile all command.

A user log file is saved in a log directory (for example, the log or logfile directory) and named in the log.log format.

A diagnostic log file is saved in a log directory (for example, the log or logfile directory) and named in the log.dblg format.

Example

# Save the logs in the user log buffer area and diagnostic log buffer area to the user log file and diagnostic log file, respectively.

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