Skip to content

Commit a34c28d

Browse files
authored
[Logging] Document the Monolog reset() for long running processes
Close #15086
1 parent 7d667bc commit a34c28d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

logging.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,13 @@ information to your log entries.
367367

368368
See :doc:`/logging/processors` for details.
369369

370+
Handling logs in long running processes
371+
---------------------------------------
372+
373+
During long running processes, logs can be accumulated into Monolog and cause some buffer overflow,
374+
memory increase or even non logical logs.
375+
Monolog supports to be reseted via the ``reset()`` function, this allows to empty the log pool.
376+
370377
Learn more
371378
----------
372379

0 commit comments

Comments
 (0)