[Python-checkins] cpython: whatsnew: logging TimedRotatingFileHandler atTime parameter.

r.david.murray python-checkins at python.org
Sun Jan 5 03:18:29 CET 2014


http://hg.python.org/cpython/rev/1eb10bbebe79
changeset:   88305:1eb10bbebe79
user:        R David Murray <rdmurray at bitdance.com>
date:        Sat Jan 04 18:55:01 2014 -0500
summary:
  whatsnew: logging TimedRotatingFileHandler atTime parameter.

files:
  Doc/whatsnew/3.4.rst |  8 ++++++++
  Misc/NEWS            |  4 ++--
  2 files changed, 10 insertions(+), 2 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -730,6 +730,14 @@
 :issue:`19030`)
 
 
+logging
+-------
+
+The :class:`~logging.handlers.TimedRotatingFileHandler` has a new *atTime*
+parameter that can be used to specify the time of day when rollover should
+happen.  (Contributed by Ronald Oussoren in :issue:`9556`.)
+
+
 .. _whatsnew-marshal-3:
 
 marshal
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2226,8 +2226,8 @@
 - Issue #16658: add missing return to HTTPConnection.send()
   Patch by Jeff Knupp.
 
-- Issue #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler
-  to rotate.
+- Issue #9556: the logging package now allows specifying a time-of-day for a
+  TimedRotatingFileHandler to rotate.
 
 - Issue #14971: unittest test discovery no longer gets confused when a function
   has a different __name__ than its name in the TestCase class dictionary.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list