Re: Send duration output to separate log files

2024-12-19 Thread Greg Sabino Mullane
Thanks for the feedback on this, everyone. I think, given the lack of committer enthusiasm, I may have to go the route of redesigning the logging system completely. At any rate, I cannot circle back to this for a while. 2. possibility to support rsyslog by setting different or some syslog > relate

Re: Send duration output to separate log files

2024-07-24 Thread Pavel Stehule
Hi st 10. 7. 2024 v 17:58 odesílatel Greg Sabino Mullane napsal: > Please find attached a patch to allow for durations to optionally be sent > to separate log files. In other words, rather than cluttering up our > postgres202007.log file with tons of output from > log_min_duration_statement, dur

Re: Send duration output to separate log files

2024-07-22 Thread Alastair Turner
On Fri, 12 Jul 2024 at 15:58, Greg Sabino Mullane wrote: > On Thu, Jul 11, 2024 at 6:47 AM Alastair Turner > wrote: > >> The other category of logging which would benefit from a separate file >> is audit. It also can create massive volumes of log content. Splitting >> audit information off into

Re: Send duration output to separate log files

2024-07-12 Thread Greg Sabino Mullane
On Thu, Jul 11, 2024 at 6:47 AM Alastair Turner wrote: > The other category of logging which would benefit from a separate file is > audit. It also can create massive volumes of log content. Splitting audit > information off into a separate file for use by a separate team or function > is also a

Re: Send duration output to separate log files

2024-07-11 Thread Alastair Turner
On Wed, 10 Jul 2024 at 16:58, Greg Sabino Mullane wrote: --snip-- > Why not build a more generic log filtering case? > > I looked into this, but it would be a large undertaking, given the way our > logging system works. And as per above, I don't think the pain would be > worth it, as duration cov