Re: log_line_prefix additions

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: log_line_prefix additions
Date: 2004-08-25 22:45:34
Message-ID: 200408251645.34265.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Wednesday August 25 2004 4:25, Andrew Dunstan wrote:
> From: "Ed L." <pgsql(at)bluepolka(dot)net>
>
> >To: pgsql-patches(at)postgresql(dot)org
> >
> >This patch against 8.0.0beta1 source adds log_line_prefix options for
> >millisecond timestamps (%m), remote host (%h), and remote port (%P).
> > The milliseconds are useful for QPS measurements, and the remote port
> > is worthless to us as part of %r.
>
> [snip]
>
> I don't understand what you mean by the remote port being
> "worthless to us as part of %r." Please explain.

"Worthless to us as part of %r" means we don't use the remote port, and
would rather not have it in our logs. With %h, we can log what we want
(hostname/IP), and others can still get both ip and port if they like with
"%h(%P)" or "%r".

Ed

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message pgsql 2004-08-26 01:33:50 Re: Contrib -- PostgreSQL shared variables -with swap
Previous Message Tom Lane 2004-08-25 22:44:33 Re: add hint