Re: logging stuff - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: logging stuff
Date
Msg-id 200308052202.h75M2jv22840@candle.pha.pa.us
Whole thread Raw
In response to Re: logging stuff  (Josh Berkus <josh@agliodbs.com>)
Responses Re: logging stuff
List pgsql-hackers
Another interesting idea, if we do a single log variable with parameters
separated by commas, is to allow some syntax where you could specify the
delimiter between fields, so it could be:
log_line:     "|", dbname, username

or
log_line:     " ", dbname, username

---------------------------------------------------------------------------

Josh Berkus wrote:
> Tom,
> 
> > > I'm prepared to be guided by concensus, though.
> >
> > I'm not dead set on it either, just wanted to raise a flag.  Who else
> > has an opinion?
> 
> >From my perspective, we could really use a "delimiter" between the "fields" of 
> log output which is unlikely to appear within those fields instead of parsing 
> by character count, rather than making dbname a special case.
> 
> Or do we already do this and I'm not parsing my log right?
> 
> -- 
> Josh Berkus
> Aglio Database Solutions
> San Francisco
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: logging stuff
Next
From: Bruce Momjian
Date:
Subject: Re: TODO: trigger features