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?

From Peter Otten <__peter__@web.de>
Subject RE: What replaces log4py under Python 3.2?
Date 2011-11-23 15:18 +0100
Organization None
References <mailman.2953.1321986769.27778.python-list@python.org> <4ecbfacc$0$6859$e4fe514c@news2.news.xs4all.nl> <67D108EDFAD3C148A593E6ED7DCB4BBDEDD182@RADCONWIN2K8PDC.radcon.local>
Newsgroups comp.lang.python
Message-ID <mailman.2971.1322057912.27778.python-list@python.org> (permalink)

Show all headers | 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