From 9cf617bff9c018e43ab690cda451581aee390e3f Mon Sep 17 00:00:00 2001 From: R David Murray Date: Sat, 4 Jan 2014 18:55:01 -0500 Subject: [PATCH] whatsnew: logging TimedRotatingFileHandler atTime parameter. --- 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 index f4e809e66b5..044d830b797 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -730,6 +730,14 @@ metaclasses (Contributed by Ethan Furman in :issue:`18929` and :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 index 497cc5604c1..aca2b5ad303 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -2226,8 +2226,8 @@ Library - 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.