mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Closes #17376: Merged clarification from 3.3.
This commit is contained in:
commit
d12ff7b754
1 changed files with 5 additions and 1 deletions
|
@ -317,11 +317,15 @@ timed intervals.
|
|||
+----------------+-----------------------+
|
||||
| ``'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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue