cpython: 12239c13db72 (original) (raw)
Mercurial > cpython
changeset 82551:12239c13db72 3.3
Issue #17376: Merged clarification from 3.2. [#17376]
Vinay Sajip <vinay_sajip@yahoo.co.uk> | |
---|---|
date | Fri, 08 Mar 2013 23:26:43 +0000 |
parents | 2cd2d8f8f72f(current diff)83f07e3a53f4(diff) |
children | a8047d1376d5 8817a09e012c |
files | Doc/library/logging.handlers.rst |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-)[+] [-] Doc/library/logging.handlers.rst 6 |
line wrap: on
line diff
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -317,11 +317,15 @@ timed intervals.
+----------------+-----------------------+
| 'D'
| Days |
+----------------+-----------------------+
- |
'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