Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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".


In response to

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group