Re: Feature Request: log_line_prefix %h Counterpart

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Jawala <jawala(dot)birdi(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Feature Request: log_line_prefix %h Counterpart
Date: 2024-03-06 15:55:57
Message-ID: CAKAnmmLNvZze-2aQgwM0X03U-8FSGQBg6tJt3fzOr1qz8d9ckw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jan 26, 2024 at 1:44 AM Jawala <jawala(dot)birdi(at)gmail(dot)com> wrote:

> Looking for an escape sequence for log_line_prefix for the IP address that
> traffic was destined to, i.e., the *local* address of the TCP connection,
> natural counterpart to "remote IP address".
>

I made a quick proof of concept of this, will post a patch to -hackers soon
and CC you.

Cheers,
Greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2024-03-06 16:02:23 Re: Feature Request: log_line_prefix %h Counterpart
Previous Message Greg Sabino Mullane 2024-03-06 15:40:32 Re: pgBadger: Cannot find any log entries from systemd-journald