Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!amsnews11.chello.com!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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'talks': 0.10; 'package.': 0.12; 'files).': 0.16; 'received:dip.t-dialin.net': 0.16; 'received:t-dialin.net': 0.16; 'richardson': 0.16; 'wrote:': 0.18; 'from:addr:web.de': 0.23; 'changes,': 0.24; 'url:library': 0.31; 'subject:?': 0.31; 'header:X-Complaints-To:1': 0.33; 'to:addr:python-list': 0.34; 'anything': 0.34; 'subject:What': 0.34; 'url:python': 0.36; 'file': 0.36; 'using': 0.38; 'received:org': 0.38; 'url:docs': 0.39; 'url:org': 0.39; 'files': 0.39; 'to:addr:python.org': 0.40; 'link': 0.63; 'our': 0.64; 'customers': 0.71; 'saving': 0.76; 'package?': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Peter Otten <__peter__@web.de> Subject: RE: What replaces log4py under Python 3.2? Date: Wed, 23 Nov 2011 15:18:26 +0100 Organization: None References: <4ecbfacc$0$6859$e4fe514c@news2.news.xs4all.nl> <67D108EDFAD3C148A593E6ED7DCB4BBDEDD182@RADCONWIN2K8PDC.radcon.local> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: p5084a138.dip.t-dialin.net 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322057912 news.xs4all.nl 6921 [2001:888:2000:d::a6]:37133 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16109 Rob Richardson wrote: > Our customers are used to the rotating log file capability of the log4py > package. I did not see anything in that link that talks about rotating > log files (changing file name when the date changes, and saving a limited > number of old log files). Is that possible using the stdlib logging > package? How about http://docs.python.org/py3k/library/logging.handlers.html#timedrotatingfilehandler