Re: entries in serverlog file - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: entries in serverlog file
Date
Msg-id 46BB4651.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to entries in serverlog file  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin
>>> On Thu, Aug 9, 2007 at  4:37 PM, in message
<FE44E0D7EAD2ED4BB2165071DB8E328C03062B24@egcrc-ex01.egcrc.org>, "Tena Sakai"
<tsakai@gallo.ucsf.edu> wrote:
> I have, by default, on a linux machine, a file called
> serverlog in the data directory, whose entries often
> prove to be very useful.  What would be even more useful
> would be a timestamp along with each entry.
>
> Is there any way I can add such timestamp at this point?
> Perhaps via postgresql.conf file (also in the data directory)?

By all means, do read the documentation referred to by Joshua.

For a quick starting point, we have found it useful to use
these settings:

redirect_stderr = on
log_line_prefix = '[%m] %p %q<%u %d %r> '




pgsql-admin by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: entries in serverlog file
Next
From: "Tena Sakai"
Date:
Subject: Re: entries in serverlog file