diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-01-04 23:55:01 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-01-04 23:55:01 (GMT) |
commit | 9cf617bff9c018e43ab690cda451581aee390e3f (patch) | |
tree | 5c01664ac55d1f84c9aa0d33437c94b37dbe623d | |
parent | 4908f4a1512bd8f8625631f2c763cb04640c434a (diff) | |
download | cpython-9cf617bff9c018e43ab690cda451581aee390e3f.zip cpython-9cf617bff9c018e43ab690cda451581aee390e3f.tar.gz cpython-9cf617bff9c018e43ab690cda451581aee390e3f.tar.bz2 |
whatsnew: logging TimedRotatingFileHandler atTime parameter.
-rw-r--r-- | Doc/whatsnew/3.4.rst | 8 | ||||
-rw-r--r-- | 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 f4e809e..044d830 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 @@ -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. |