Skip to content

Commit

Permalink
Reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Mar 8, 2023
1 parent 59b5689 commit 80d56a0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -381,13 +381,14 @@ information to your log entries.

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

Handling logs in long running processes
Handling Logs in Long Running Processes
---------------------------------------

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

Learn more
----------
Expand Down

0 comments on commit 80d56a0

Please sign in to comment.