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
Configure 'log_min_error_statement' database flag (default value is 'ERROR').