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


Groups > comp.lang.python > #16109

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!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 <python-python-list@m.gmane.org>
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 <mailman.2953.1321986769.27778.python-list@python.org> <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 <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.2971.1322057912.27778.python-list@python.org> (permalink)
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

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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