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


Groups > comp.lang.python > #16110

Re: What replaces log4py under Python 3.2?

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 <alec.taylor6@gmail.com>
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 <jaivb9$uth$1@dough.gmane.org>
References <mailman.2953.1321986769.27778.python-list@python.org> <4ecbfacc$0$6859$e4fe514c@news2.news.xs4all.nl> <67D108EDFAD3C148A593E6ED7DCB4BBDEDD182@RADCONWIN2K8PDC.radcon.local> <jaivb9$uth$1@dough.gmane.org>
Date Thu, 24 Nov 2011 02:06:33 +1100
Subject Re: What replaces log4py under Python 3.2?
From Alec Taylor <alec.taylor6@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2972.1322060802.27778.python-list@python.org> (permalink)
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

Show key headers only | View raw


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.  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
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list

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


Thread

What replaces log4py under Python 3.2? Rob Richardson <RDRichardson@rad-con.com> - 2011-11-22 18:32 +0000
  Re: What replaces log4py under Python 3.2? Irmen de Jong <irmen@-NOSPAM-xs4all.nl> - 2011-11-22 20:41 +0100
    RE: What replaces log4py under Python 3.2? Rob Richardson <RDRichardson@rad-con.com> - 2011-11-23 14:07 +0000
    RE: What replaces log4py under Python 3.2? Peter Otten <__peter__@web.de> - 2011-11-23 15:18 +0100
    Re: What replaces log4py under Python 3.2? Alec Taylor <alec.taylor6@gmail.com> - 2011-11-24 02:06 +1100

csiph-web