Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.05; 'talks': 0.10; 'am,': 0.12; 'package.': 0.12; 'files).': 0.16; 'from:addr:alec.taylor6': 0.16; 'from:name:alec taylor': 0.16; 'received:209.85.213.174': 0.16; 'received:mail- yx0-f174.google.com': 0.16; 'richardson': 0.16; 'cc:addr:python- list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'header :In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'changes,': 0.24; 'url:mailman': 0.28; 'message-id:@mail.gmail.com': 0.28; '24,': 0.29; 'cc:addr:python.org': 0.29; 'nov': 0.29; 'url:library': 0.31; 'subject:?': 0.31; 'thu,': 0.32; 'url:listinfo': 0.32; 'anything': 0.34; 'subject:What': 0.34; 'url:python': 0.36; 'file': 0.36; 'received:google.com': 0.37; 'using': 0.38; 'received:209.85': 0.38; 'url:docs': 0.39; 'url:org': 0.39; 'files': 0.39; 'received:209': 0.40; '2011': 0.61; 'link': 0.63; 'our': 0.64; 'customers': 0.71; 'saving': 0.76; 'otten': 0.84; 'package?': 0.84; '1:18': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=T/xaniBPOiOKutV4g+a1iGDeowID8tDftqhhgujfEGM=; b=me477fiPsL5odBND7gCl0DGVkEHUjKclf7NSJIPWV2x8mlBArjrWK3PZ64gVxBT7BE hHrP+SL/EyY+Lyar5QfaN6Id1zkHP0YnNh9GKOSHiy5zpGSt/IWU9o6yRlJsER4j78S3 weXNsZh+Hewhit35j6huWZuOSX05ts2utCkww= MIME-Version: 1.0 In-Reply-To: References: <4ecbfacc$0$6859$e4fe514c@news2.news.xs4all.nl> <67D108EDFAD3C148A593E6ED7DCB4BBDEDD182@RADCONWIN2K8PDC.radcon.local> Date: Thu, 24 Nov 2011 02:06:33 +1100 Subject: Re: What replaces log4py under Python 3.2? From: Alec Taylor To: Peter Otten <__peter__@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322060802 news.xs4all.nl 6929 [2001:888:2000:d::a6]:47086 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16110 zing! On Thu, Nov 24, 2011 at 1:18 AM, Peter Otten <__peter__@web.de> wrote: > Rob Richardson wrote: > >> Our customers are used to the rotating log file capability of the log4py >> package. =A0I did not see anything in that link that talks about rotatin= g >> log files (changing file name when the date changes, and saving a limite= d >> number of old log files). =A0Is that possible using the stdlib logging >> package? > > How about > > http://docs.python.org/py3k/library/logging.handlers.html#timedrotatingfi= lehandler > > > -- > http://mail.python.org/mailman/listinfo/python-list