Skip to content

Commit 2d23a8d

Browse files
committed
Linked "logrotate" to its official website
1 parent 472c803 commit 2d23a8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cookbook/logging/monolog.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ only for a specific handler.
233233

234234
Beware that log file sizes can grow very rapidly, leading to disk space exhaustion.
235235
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``
236+
generate hundreds of log lines. Consider using tools like the `logrotate`_
237237
Linux command to rotate log files before they become a problem.
238238

239239
A processor is simply a callable receiving the record as its first argument.
@@ -479,4 +479,5 @@ the ``monolog.processor`` tag:
479479
->addArgument(new Reference('session'))
480480
->addTag('monolog.processor', array('method' => 'processRecord', 'channel' => 'main'));
481481
482-
.. _Monolog: https://github.com/Seldaek/monolog
482+
.. _`Monolog`: https://github.com/Seldaek/monolog
483+
.. _`logrotate`: https://fedorahosted.org/logrotate/

0 commit comments

Comments
 (0)