Logging and monitoring

PostgreSQL instance where ‘log_min_error_statement’ flag value is not ‘ERROR’

Risk Level

Informational (4)

Platform(s)
Compliance Frameworks

Description

The log_min_error_statement flag defines the minimum message severity level that is considered as an error statement. Messages for error statements are logged with the SQL statement. ERROR is considered the best practice setting.
  • Recommended Mitigation

    Remove 'log_min_error_statement' database flag (default value is 'ERROR')