Re: Log line prefix on win32

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Log line prefix on win32
Date: 2004-10-08 16:37:52
Message-ID: 4166C260.6080308@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andreas Pflug wrote:

> Bruce Momjian wrote:
>
>> 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.
>
> "W. Europe Daylight Time" on my system.
>
>>
>> Should we add %z and not print the timezone information for %t? That
>> seems like the only reasonable solution.
>
>
> +1 vote from me. IMHO TZ information which is constant on the machine
> anyway can safely be omitted.
>
>

Another possibility would be to have alternatives for %t and %s which
used UTC rather than local time (and so of course didn't use a
timezone). Or maybe we could do both.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-10-08 16:50:11 Re: Log line prefix on win32
Previous Message Tom Lane 2004-10-08 16:37:03 Re: Problem with CIDR data type restrictions

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-10-08 16:50:11 Re: Log line prefix on win32
Previous Message Andreas Pflug 2004-10-08 15:53:21 Re: Log line prefix on win32