Re: Frontend error logging style
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-05-30T05:30:44Z
Lists: pgsql-hackers
On 23.05.22 11:53, Peter Eisentraut wrote: > On 29.03.22 16:24, Peter Eisentraut wrote: >> I think I would want the program name/location also in front of the >> detail and hint lines. I need to think about this a bit more. This >> shouldn't hold up this patch; it would be a quick localized change. > > After experiencing this for a bit now, I propose to make this change. > It lines up better and allows easier filtering of messages by program. This has been committed.
Commits
-
logging: Also add the command prefix to detail and hint messages
- a8cca6026e99 15.0 landed
-
Remove not-very-useful early checks of __pg_log_level in logging.h.
- 2c9381840fe2 15.0 landed
-
Improve frontend error logging style.
- 9a374b77fb53 15.0 landed
-
Apply PGDLLIMPORT markings broadly.
- 8ec569479fc2 15.0 cited