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: 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" To: "'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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 The default converter attribute uses localtime, but often under windows whe= n I add an additional logger, create a new file handler and set a formatter t= he time switches to utc. Obviously redefining a new converter class does nothing as the default is w= hat I wanted to start with, localtime. Anyone experienced this and have a workaround? Thanks, jlc