From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Bruno Wolff III <bruno(at)wolff(dot)to> |
Cc: | Chris Hoover <revoohc(at)sermonaudio(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Breaking out log by database |
Date: | 2004-04-27 19:47:48 |
Message-ID: | 200404271947.i3RJlmU02407@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
\Bruno Wolff III wrote:
> On Tue, Apr 27, 2004 at 13:21:34 -0400,
> Chris Hoover <revoohc(at)sermonaudio(dot)com> wrote:
> > Question,
> >
> > I have several db servers that have postgresql clusters with many db's (5 upto
> > 170) in them. Is there a way to breakout the postgres logs by the database?
>
> I don't think it is possible to do that in the released versions, but I know
> there was some discussions about adding the database name to the log records
> not too long ago. (Within the last couple of months.) So it may not be too
> hard to do this in 7.5 when it is released.
In 7.5, you have log_line_prefix, which can contain the database name as
a prefix on each log line.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Eduardo Naschenweng | 2004-04-27 20:21:31 | Optimizer choosing smaller index instead of right one |
Previous Message | Bruno Wolff III | 2004-04-27 19:26:18 | Re: Breaking out log by database |