From: | Ed Loehr <eloehr(at)austin(dot)rr(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pggeneral <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: How To Log User Name + Database? |
Date: | 2000-12-06 18:32:32 |
Message-ID: | 3A2E8640.60821E52@austin.rr.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
>
> Ed Loehr <eloehr(at)austin(dot)rr(dot)com> writes:
> > Would it be better to
> > (optionally) allow the db name and user name to be logged on each
> > line?
>
> That would bulk up the log considerably, and also create formatting
> problems (you couldn't really make these items be fixed-width columns).
These points, at least the first, suggest to me it should be an optional
feature. But regarding bulkier logs, FWIW, I would gladly trade the
time/hassle of correlating visually correlating log entries for
additional disk space. Time is far more expensive than disk space.
Regarding fixed width problems, not sure why fixed-width columns would be
a requirement. I'll assume it is some unusual internal pg formatting
constraint. Apache and others obviously handle variable width logging...
Regards,
Ed Loehr
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-12-06 18:58:42 | Re: How To Log User Name + Database? |
Previous Message | Tom Lane | 2000-12-06 18:01:20 | Re: How To Log User Name + Database? |