Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57622

Logging timezones

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jcasale@activenetwerx.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.027
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'handler': 0.05; 'attribute': 0.07; 'windows': 0.15; 'received:172.18.0': 0.16; 'subject:Logging': 0.16; 'switches': 0.16; 'utc.': 0.16; 'workaround?': 0.16; 'thanks,': 0.17; 'obviously': 0.18; 'with,': 0.31; 'anyone': 0.31; 'file': 0.32; 'class': 0.32; 'but': 0.35; 'add': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:unknown': 0.61; 'new': 0.61; 'default': 0.69; 'redefining': 0.91
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=BkBxTXsSVzyY7C2joSQK+JNK4mJr1It1Skr7Xe8+Jh8= c=1 sm=1 a=AgG5ixNBvo4A:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=lAVZ0hKPq-Mbx0LCj-QA:9 a=CjuIK1q_8ugA:10 a=aQfyzbgMeV8A:10 a=p8MIG6iXipwA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To "'python-list@python.org'" <python-list@python.org>
Subject Logging timezones
Thread-Topic Logging timezones
Thread-Index Ac7SYL3f9+nzHDFmSayZeg2uYu0veQ==
Date Sat, 26 Oct 2013 15:36:35 +0000
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.18.0.201]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1583.1382801873.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1382801873 news.xs4all.nl 15966 [2001:888:2000:d::a6]:41603
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:57622

Show key headers only | View raw


The default converter attribute uses localtime, but often under windows when
I add an additional logger, create a new file handler and set a formatter the time
switches to utc.

Obviously redefining a new converter class does nothing as the default is what I
wanted to start with, localtime.

Anyone experienced this and have a workaround?

Thanks,
jlc

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Logging timezones "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-10-26 15:36 +0000

csiph-web