Kaydet (Commit) e6dab2a0 authored tarafından Georg Brandl's avatar Georg Brandl

Fix factual error.

üst 72780a4b
...@@ -1667,11 +1667,12 @@ timed intervals. ...@@ -1667,11 +1667,12 @@ timed intervals.
| ``'midnight'`` | Roll over at midnight | | ``'midnight'`` | Roll over at midnight |
+----------------+-----------------------+ +----------------+-----------------------+
If *backupCount* is non-zero, the system will save old log files by appending The system will save old log files by appending extensions to the filename.
extensions to the filename. The extensions are date-and-time based, using the The extensions are date-and-time based, using the strftime format
strftime format ``%Y-%m-%d_%H-%M-%S`` or a leading portion thereof, depending on ``%Y-%m-%d_%H-%M-%S`` or a leading portion thereof, depending on the rollover
the rollover interval. At most *backupCount* files will be kept, and if more interval. If *backupCount* is nonzero, at most *backupCount* files will be
would be created when rollover occurs, the oldest one is deleted. kept, and if more would be created when rollover occurs, the oldest one is
deleted.
.. method:: TimedRotatingFileHandler.doRollover() .. method:: TimedRotatingFileHandler.doRollover()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment