File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -229,8 +229,14 @@ Monolog allows you to process the record before logging it to add some
229
229
extra data. A processor can be applied for the whole handler stack or
230
230
only for a specific handler.
231
231
232
- A processor is simply a callable receiving the record as its first argument.
232
+ .. tip ::
233
233
234
+ Beware that log file sizes can grow very rapidly, leading to disk space exhaustion.
235
+ This is specially true in the ``dev `` environment, where a simple request can
236
+ generate hundreds of log lines. Consider using tools like the ``logrotate ``
237
+ Linux command to contain log files before they become a problem.
238
+
239
+ A processor is simply a callable receiving the record as its first argument.
234
240
Processors are configured using the ``monolog.processor `` DIC tag. See the
235
241
:ref: `reference about it <dic_tags-monolog-processor >`.
236
242
You can’t perform that action at this time.
0 commit comments