Re: [HACKERS] logging blemishes

2005-09-22 Thread Bruce Momjian
> > >Are you saying "connection received" should honor %q? It seems it is a > > >session line, rather than a server line, no? > > > > > > > > > > > > > Maybe, the line just struck me as rather ugly. Never mind. > > Now that you mention it, the log line for connections does look wrong. > "[loc

Re: [HACKERS] logging blemishes

2005-09-21 Thread Bruce Momjian
Andrew Dunstan wrote: > > > Bruce Momjian wrote: > > >Andrew Dunstan wrote: > > > > > Example (log_line_prefix = '%t [EMAIL PROTECTED] %r %p %c:%l'): > > 2005-09-19 19:16:39 EDT [EMAIL PROTECTED] 6541 432f46d7.198d:1 LOG: > connection received: host=[local] port= >

Re: [HACKERS] logging blemishes

2005-09-21 Thread Andrew Dunstan
Bruce Momjian wrote: Andrew Dunstan wrote: Example (log_line_prefix = '%t [EMAIL PROTECTED] %r %p %c:%l'): 2005-09-19 19:16:39 EDT [EMAIL PROTECTED] 6541 432f46d7.198d:1 LOG: connection received: host=[local] port= In the case above, I rather expected %q to kick in.

Re: [HACKERS] logging blemishes

2005-09-21 Thread Bruce Momjian
Andrew Dunstan wrote: > > > Bruce Momjian wrote: > > >Andrew Dunstan wrote: > > > > > >>While preparing for a presentation, I noticed some mildly ugly effects > >>with log_line_prefix during session startup if log_connections is turned on. > >> > >>Example (log_line_prefix = '%t [EMAIL PROTEC

Re: [HACKERS] logging blemishes

2005-09-20 Thread Andrew Dunstan
Bruce Momjian wrote: Andrew Dunstan wrote: While preparing for a presentation, I noticed some mildly ugly effects with log_line_prefix during session startup if log_connections is turned on. Example (log_line_prefix = '%t [EMAIL PROTECTED] %r %p %c:%l'): 2005-09-19 19:16:39 EDT [EMAIL P

Re: [HACKERS] logging blemishes

2005-09-20 Thread Andrew Dunstan
Bruce Momjian wrote: Andrew Dunstan wrote: I'm also unclear why we get two lines at the start of each connection - that seems like a bug, or is it due to some sort of protocol negotiation. This is a fresh FC4 machine with only pg 8.0.3 ever installed. I can not reproduce your pro

Re: [HACKERS] logging blemishes

2005-09-19 Thread Bruce Momjian
Andrew Dunstan wrote: > > While preparing for a presentation, I noticed some mildly ugly effects > with log_line_prefix during session startup if log_connections is turned on. > > Example (log_line_prefix = '%t [EMAIL PROTECTED] %r %p %c:%l'): > > 2005-09-19 19:16:39 EDT [EMAIL PROTECTED] 6541

[HACKERS] logging blemishes

2005-09-19 Thread Andrew Dunstan
While preparing for a presentation, I noticed some mildly ugly effects with log_line_prefix during session startup if log_connections is turned on. Example (log_line_prefix = '%t [EMAIL PROTECTED] %r %p %c:%l'): 2005-09-19 19:16:39 EDT [EMAIL PROTECTED] 6541 432f46d7.198d:1 LOG: connection