Re: Change error code severity for syslog?

2023-10-11 Thread Michael Paquier
On Thu, Oct 12, 2023 at 09:42:47AM +0900, Abhishek Bhola wrote: > For most of the Postgres errors, translating it to WARNING level in syslog > works, however, I wanted to translate *ERROR codes XX000/1/2* in Postgres > to be ERROR in syslog as well, so that it triggers the alert system and I > can

Change error code severity for syslog?

2023-10-11 Thread Abhishek Bhola
Hi The Postgres errors when sent to syslog have their severity levels translated as follows: https://www.postgresql.org/docs/current/runtime-config-logging.html#RUNTIME-CONFIG-SEVERITY-LEVELS I have a system which raises an alert every time syslog receives an ERROR (or higher severity level). Fo