Updated on 2025-08-25 GMT+08:00

Error Log Collection Is Enabled

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

gaussdb-instance-enable-errorLog

Identifier

gaussdb-instance-enable-errorLog

Description

If error log collection is not enabled for a GaussDB instance, this instance is non-compliant.

Tag

gaussdb

Trigger Type

Configuration change

Filter Type

gaussdb.instance

Rule Parameters

None

Application Scenarios

GaussDB allows you to download slow query logs and error logs. Slow query logs help you locate slow SQL statement execution problems. Error logs help you locate instance problems. For details, see Downloading Error Logs and Slow Query Logs of a GaussDB Instance.

Solution

The error log collection is enabled by default. No action is required.

Rule Logic

  • If error log collection is disabled, the GaussDB instance is non-compliant.
  • If error log collection is enabled, the GaussDB instance is compliant.