Re: adding timestamp to log file entries?

From: "mark" <dvlhntr(at)gmail(dot)com>
To: "'James Hartley'" <jjhartley(at)gmail(dot)com>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: adding timestamp to log file entries?
Date: 2011-09-02 01:43:28
Message-ID: 004d01cc6911$b7c1e580$2745b080$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Jim wrote...

>I looked through the 9.0 Manual on the PostgreSQL Website, but didn't find
this covered.  I may not have known what to look for.  I would like to >add
timestamps to the entries made to PostgreSQL's log file.  I vaguely recall
that this was configurable in the 8.x literature, but can't find the
>specifics.  Can anyone shed any information?

>Thanks.

>Jim

http://www.postgresql.org/docs/9.0/static/runtime-config-logging.html

I *think* what you want is %t in your log_line_prefix

-Mark

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message James Hartley 2011-09-02 03:02:06 Re: adding timestamp to log file entries?
Previous Message James Hartley 2011-09-01 20:02:52 adding timestamp to log file entries?