/ Zope / Apsis / Pound Mailing List / Archive / 2009 / 2009-11 / Log format in GMT only?

[ << ] [ >> ]

[ Takes ages before backends are detected as up / ... ] [ SSL Renegotiation Vulnerability / "(private) ... ]

Log format in GMT only?
"Eric B." <ebenze(at)hotmail.com>
2009-11-11 18:17:32 [ SNIP ]
Hi,

I noticed that all my log entries are time/date stamped at GMT.  Is this the 
only way to get log information from Pound?  Or can this be customized?  Or 
is this a system configuration setup that I have wrong?

My LogLevel is set to 5

Ex:
Nov 11 17:03:49 charliebrown pound: highschool.domain.com 
192.168.254.224 - - [11/Nov/2009:17:03:49 +0000] "GET 
/images/rapidssl_ssl_certificate.gif HTTP/1.1" 200 7124 
"http://highschool.domain.com/about/about.jspa" "Mozilla/4.0 (compatible; 
MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET 
CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 
3.0.4506.2152; .NET CLR 3.5.30729)" (- -> 10.1.1.7:8080) 0.048 sec
(END)

If you notice, the Pound time stamp is [11/Nov/2009:17:03:49 +0000].  I'm in 
EST, so I would have expected / preferred to see 
[11/Nov/2009:12:03:49 -0500].

Is that at all configurable?

While on the same topic, most of the other webservers/proxies I've seen 
allow for custom definition of the fields in the log file.  Is that at all 
on the roadmap for Pound?

Thanks,

Eric




Re: [Pound Mailing List] Log format in GMT only?
"Simon Matter" <simon.matter(at)invoca.ch>
2009-11-11 20:07:36 [ SNIP ]
> Hi,
>
> I noticed that all my log entries are time/date stamped at GMT.  Is this
> the
> only way to get log information from Pound?  Or can this be customized?
> Or
> is this a system configuration setup that I have wrong?

I think you have to put etc/localtime into your root jail to make this work.

Regards,
Simon

>
> My LogLevel is set to 5
>
> Ex:
> Nov 11 17:03:49 charliebrown pound: highschool.domain.com
> 192.168.254.224 - - [11/Nov/2009:17:03:49 +0000] "GET
> /images/rapidssl_ssl_certificate.gif HTTP/1.1" 200 7124
> "http://highschool.domain.com/about/about.jspa" "Mozilla/4.0 (compatible;
> MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727;
> .NET
> CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR
> 3.0.4506.2152; .NET CLR 3.5.30729)" (- -> 10.1.1.7:8080) 0.048 sec
> (END)
>
> If you notice, the Pound time stamp is [11/Nov/2009:17:03:49 +0000].  I'm
> in
> EST, so I would have expected / preferred to see
> [11/Nov/2009:12:03:49 -0500].
>
> Is that at all configurable?
>
> While on the same topic, most of the other webservers/proxies I've seen
> allow for custom definition of the fields in the log file.  Is that at all
> on the roadmap for Pound?
>
> Thanks,
>
> Eric
>
>
>
>
> --
> To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
> Please contact roseg(at)apsis.ch for questions.
>



Re: [Pound Mailing List] Log format in GMT only?
"Eric B." <ebenze(at)hotmail.com>
2009-11-11 20:34:34 [ SNIP ]
"Simon Matter" <simon.matter(at)invoca.ch> wrote 
in message news:MailBoxer.1329.1257966802.47.pound(at)apsis.ch...
> Hi,
>
> I noticed that all my log entries are time/date stamped at GMT.  Is this
> the
> only way to get log information from Pound?  Or can this be customized?
> Or
> is this a system configuration setup that I have wrong?

> I think you have to put etc/localtime into your root jail to make this 
> work.

Good catch.  Thanks for the tip.  Added etc/localtime to the jail, and works 
great now.

Thanks,

Eric





MailBoxer