[Python-checkins] cpython (merge 3.3 -> default): Closes #17376: Merged clarification from 3.3.
vinay.sajip
python-checkins at python.org
Sat Mar 9 00:27:43 CET 2013
http://hg.python.org/cpython/rev/a8047d1376d5
changeset: 82552:a8047d1376d5
parent: 82548:ca9a85c36e09
parent: 82551:12239c13db72
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Fri Mar 08 23:27:24 2013 +0000
summary:
Closes #17376: Merged clarification from 3.3.
files:
Doc/library/logging.handlers.rst | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -317,11 +317,15 @@
+----------------+-----------------------+
| ``'D'`` | Days |
+----------------+-----------------------+
- | ``'W'`` | Week day (0=Monday) |
+ | ``'W0'-'W6'`` | Weekday (0=Monday) |
+----------------+-----------------------+
| ``'midnight'`` | Roll over at midnight |
+----------------+-----------------------+
+ When using weekday-based rotation, specify 'W0' for Monday, 'W1' for
+ Tuesday, and so on up to 'W6' for Sunday. In this case, the value passed for
+ *interval* isn't used.
+
The system will save old log files by appending extensions to the filename.
The extensions are date-and-time based, using the strftime format
``%Y-%m-%d_%H-%M-%S`` or a leading portion thereof, depending on the
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list