Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fede1a5

Browse files
94noniSeldaek
andauthored
Update logging.rst
Co-authored-by: Jordi Boggiano <[email protected]>
1 parent 6c7592e commit fede1a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

logging.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ Handling logs in long running processes
372372

373373
During long running processes, logs can be accumulated into Monolog and cause some buffer overflow,
374374
memory increase or even non logical logs.
375-
Monolog in-memory data can be cleared using the ``reset()`` function.
375+
Monolog in-memory data can be cleared using the ``reset()`` method on a ``Monolog\Logger`` instance.
376+
This should typically be called between every jobs/tasks that a long running process is working through.
376377

377378
Learn more
378379
----------

0 commit comments

Comments
 (0)