Re: Capturing both IP address and hostname in the log

2025-05-20 Thread Melanie Plageman
On Thu, Apr 10, 2025 at 12:00 PM Tom Lane wrote: > Melanie recently committed a patch (9219093ca) that purports to > generalize our log_connections logging ability: > > Convert the boolean log_connections GUC into a list GUC comprised of > the > connection aspects to log. > > This giv

Re: Capturing both IP address and hostname in the log

2025-04-10 Thread David G. Johnston
On Thu, Apr 10, 2025 at 9:00 AM Tom Lane wrote: > [ moving to -hackers ] > > Adrian Klaver writes: > > On 4/10/25 05:22, Tefft, Michael J wrote: > >> We have set log_hostname ON and we get hostname reported – but we do > not > >> get IP address. We would like to capture both. > >> Is there a way

Re: Capturing both IP address and hostname in the log

2025-04-10 Thread Tom Lane
[ moving to -hackers ] Adrian Klaver writes: > On 4/10/25 05:22, Tefft, Michael J wrote: >> We have set log_hostname ON and we get hostname reported – but we do not >> get IP address. We would like to capture both. >> Is there a way to capture both IP address and hostname in the log >> messages