Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.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.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'roll': 0.07; 'python': 0.08; 'talks': 0.10; 'message-----': 0.12; 'package.': 0.12; 'library': 0.13; 'to:name:python- list@python.org': 0.15; '(ok,': 0.16; '3.2,': 0.16; 'compile.': 0.16; 'files).': 0.16; 'mean.)': 0.16; 'replaces': 0.16; 'richardson': 0.16; 'wrote:': 0.18; 'stick': 0.18; 'header:In- Reply-To:1': 0.22; 'changes,': 0.24; "python's": 0.24; 'module': 0.26; 'url:mailman': 0.28; '22,': 0.30; 'now?': 0.30; 'url:library': 0.31; 'installed': 0.31; 'subject:?': 0.31; 'thanks': 0.31; 'url:listinfo': 0.32; 'that,': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'subject:': 0.34; 'anything': 0.34; 'subject:What': 0.34; 'thank': 0.35; 'something': 0.35; 'url:python': 0.36; 'file': 0.36; 'sent:': 0.36; 'charset:us- ascii': 0.37; 'skip:p 50': 0.37; 'but': 0.37; 'using': 0.38; 'word,': 0.39; 'url:docs': 0.39; 'from:': 0.39; 'url:org': 0.39; 'should': 0.39; 'else': 0.39; 'link.': 0.39; 'files': 0.39; 'to:addr:python.org': 0.40; 'company': 0.61; 'more': 0.61; '2011': 0.61; 'link': 0.63; 'our': 0.64; 'received:12': 0.66; 'customers': 0.71; 'saving': 0.76; 'package?': 0.84; 'greetings!': 0.93 From: Rob Richardson To: "python-list@python.org" Subject: RE: What replaces log4py under Python 3.2? Thread-Topic: What replaces log4py under Python 3.2? Thread-Index: AQHMqU6ptUaZDL12R1mwl4byZ6sUDpW6f47w Date: Wed, 23 Nov 2011 14:07:34 +0000 References: <4ecbfacc$0$6859$e4fe514c@news2.news.xs4all.nl> In-Reply-To: <4ecbfacc$0$6859$e4fe514c@news2.news.xs4all.nl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.170.112] 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.12 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: 58 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322057163 news.xs4all.nl 6888 [2001:888:2000:d::a6]:57457 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16108 Thank you for that link. Our customers are used to the rotating log file capability of the log4py pa= ckage. I did not see anything in that link that talks about rotating log f= iles (changing file name when the date changes, and saving a limited number= of old log files). Is that possible using the stdlib logging package? Is= there something else available that will do that, so we don't have to roll= our own (or, more likely, stick to Python 2.7, for which log4py works)? Thanks again! RobR -----Original Message----- From: python-list-bounces+rob.richardson=3Drad-con.com@python.org [mailto:p= ython-list-bounces+rob.richardson=3Drad-con.com@python.org] On Behalf Of Ir= men de Jong Sent: Tuesday, November 22, 2011 2:41 PM To: python-list@python.org Subject: Re: What replaces log4py under Python 3.2? On 22-11-11 19:32, Rob Richardson wrote: > Greetings! > > My company has been using the log4py library for a long time. A co-worke= r recently installed Python 3.2, and log4py will no longer compile. (OK, I= know that's the wrong word, but you know what I mean.) What logging packa= ge should be used now? The logging module from Python's stdlib? http://docs.python.org/py3k/library/logging.html Irmen -----Original Message----- From: python-list-bounces+rob.richardson=3Drad-con.com@python.org [mailto:p= ython-list-bounces+rob.richardson=3Drad-con.com@python.org] On Behalf Of Ir= men de Jong Sent: Tuesday, November 22, 2011 2:41 PM To: python-list@python.org Subject: Re: What replaces log4py under Python 3.2? On 22-11-11 19:32, Rob Richardson wrote: > Greetings! > > My company has been using the log4py library for a long time. A co-worke= r recently installed Python 3.2, and log4py will no longer compile. (OK, I= know that's the wrong word, but you know what I mean.) What logging packa= ge should be used now? The logging module from Python's stdlib? http://docs.python.org/py3k/library/logging.html Irmen --=20 http://mail.python.org/mailman/listinfo/python-list