We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45f8e92 + b2f258a commit 292f5cfCopy full SHA for 292f5cf
logging.rst
@@ -381,6 +381,15 @@ information to your log entries.
381
382
See :doc:`/logging/processors` for details.
383
384
+Handling Logs in Long Running Processes
385
+---------------------------------------
386
+
387
+During long running processes, logs can be accumulated into Monolog and cause some
388
+buffer overflow, memory increase or even non logical logs. Monolog in-memory data
389
+can be cleared using the ``reset()`` method on a ``Monolog\Logger`` instance.
390
+This should typically be called between every job or task that a long running process
391
+is working through.
392
393
Learn more
394
----------
395
0 commit comments