Re: Log line prefix on win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Paesold <mpaesold(at)gmx(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Log line prefix on win32
Date: 2004-10-08 15:42:10
Message-ID: 200410081542.i98FgA607930@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


I am still trying to figure out a good way to fix this. On unix my log
shows EDT but Win32 shows US/Eastern and some zones are much longer.

Should we add %z and not print the timezone information for %t? That
seems like the only reasonable solution.

---------------------------------------------------------------------------

Michael Paesold wrote:
> On my german Windows XP Professional, %t in log_line_prefix produces
> 2004-09-18 14:23:26 Westeurop?ische Sommerzeit
>
> This is rather long and ugly. It is already on the open item list:
>
> * shorten timezone for %t log_line_prefix
>
> Additionally I would suggest something like %z. Most of the time, time zone
> information is irrelevant for me in server logs.
>
> Best Regards,
> Michael Paesold
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-10-08 15:42:42 Re: APR 1.0 released
Previous Message Bruce Momjian 2004-10-08 14:34:11 Problem with CIDR data type restrictions

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-10-08 15:53:21 Re: Log line prefix on win32
Previous Message Neil Conway 2004-10-08 11:24:55 Re: [psql] Setting the PROMPT on command line