< Home

delete log sdb

Function

The delete log sdb command deletes the log database.

Format

delete log sdb

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

When an exception occurs in the log database, you can run this command to restart the device to restore the log database. After this command is executed, fields in some logs may be lost (for example, security policy and application-related log fields). Exercise caution when performing this operation.

Example

# Delete the log database.

<sysname> system-view
[sysname] delete log sdb
Warning: The log files will be deleted. Are you sure you want to continue?[Y/N]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >