File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,10 @@ module, supports rotation of disk log files.
352
352
Outputs the record to the file, catering for rollover as described
353
353
previously.
354
354
355
+ .. method :: shouldRollover(record)
356
+
357
+ See if the supplied record would cause the file to exceed the configured size limit.
358
+
355
359
.. _timed-rotating-file-handler :
356
360
357
361
TimedRotatingFileHandler
@@ -459,7 +463,11 @@ timed intervals.
459
463
.. method :: getFilesToDelete()
460
464
461
465
Returns a list of filenames which should be deleted as part of rollover. These
462
- are the absolute paths of the oldest backup log files written by the handler.
466
+
467
+ .. method :: shouldRollover(record)
468
+
469
+ See if enough time has passed for a rollover to occur and if it has, compute
470
+ the next rollover time.
463
471
464
472
.. _socket-handler :
465
473
You can’t perform that action at this time.
0 commit comments