Re: logging stuff

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: logging stuff
Date: 2003-08-05 22:02:45
Message-ID: 200308052202.h75M2jv22840@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2003-08-05 22:06:01 Re: logging stuff
Previous Message Bruce Momjian 2003-08-05 22:00:54 Re: logging stuff