Re: adding timestamp to log file entries?

From: James Hartley <jjhartley(at)gmail(dot)com>
To: mark <dvlhntr(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: adding timestamp to log file entries?
Date: 2011-09-02 03:02:06
Message-ID: CAKeNXXt3D7XEpytyzBGcFR7KV3nkZdThRfo7yjh0xemBh91PdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, Sep 1, 2011 at 6:43 PM, mark <dvlhntr(at)gmail(dot)com> wrote:

> Jim wrote...
>
> 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.
>
> 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
>
>
This is exactly what I needed & didn't see. Thank you! I needed the
cluestick.

Jim

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Carlo Ascani 2011-09-02 08:42:11 Re: Automated pg_Dump issue
Previous Message mark 2011-09-02 01:43:28 Re: adding timestamp to log file entries?