clearerrlog

You can use the clearerrlog command to clear all entries from the error log including status events and any unfixed errors.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- clearerrlog --+----------+-------------------><
                                '- -force -'

Parameters

-force
This flag stops any confirmation requests. If the -force flag is not supplied, you are prompted to confirm if you are sure that you want to clear the log.

Description

This command clears all entries from the error log. The entries are cleared even if there are unfixed errors in the log. It also clears any status events that are in the log.

Attention: Attention: This command is destructive. You should only use it when you have either rebuilt the cluster, or have fixed a major problem that has caused many entries in the error log that you do not want to manually fix.

Possible failures

Examples

An invocation example

svctask clearerrlog -force