@@ -251,17 +251,22 @@ option of your handler to ``rotating_file``:
251
251
.. code-block :: xml
252
252
253
253
<!-- app/config/config_dev.xml -->
254
- <?xml version =" 1.0" charset =" UTF-8" ?>
255
- <container xmlns =' ' http://symfony.com/schema/dic/services"
256
- xmlns:monolog=" http://symfony.com/schema/dic/monolog" >
254
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
255
+ <container xmlns =" http://symfony.com/schema/dic/services"
256
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
257
+ xmlns : monolog =" http://symfony.com/schema/dic/monolog"
258
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
259
+ http://symfony.com/schema/dic/services/services-1.0.xsd
260
+ http://symfony.com/schema/dic/monolog
261
+ http://symfony.com/schema/dic/monolog/monolog-1.0.xsd" >
257
262
258
263
<monolog : config >
264
+ <!-- "max_files": max number of log files to keep
265
+ defaults to zero, which means infinite files -->
259
266
<monolog : handler name =" main"
260
267
type =" rotating_file"
261
268
path =" %kernel.logs_dir%/%kernel.environment%.log"
262
269
level =" debug"
263
- <!-- max number of log files to keep
264
- defaults to zero, which means infinite files -->
265
270
max_files =" 10"
266
271
/>
267
272
</monolog : config >
@@ -346,7 +351,7 @@ using a processor.
346
351
347
352
monolog.processor.session_request :
348
353
class : AppBundle\SessionRequestProcessor
349
- arguments: [" @session" ]
354
+ arguments : [' @session' ]
350
355
tags :
351
356
- { name: monolog.processor, method: processRecord }
352
357
@@ -445,7 +450,7 @@ the ``monolog.processor`` tag:
445
450
services :
446
451
monolog.processor.session_request :
447
452
class : AppBundle\SessionRequestProcessor
448
- arguments: [" @session" ]
453
+ arguments : [' @session' ]
449
454
tags :
450
455
- { name: monolog.processor, method: processRecord, handler: main }
451
456
@@ -496,7 +501,7 @@ the ``monolog.processor`` tag:
496
501
services :
497
502
monolog.processor.session_request :
498
503
class : AppBundle\SessionRequestProcessor
499
- arguments: [" @session" ]
504
+ arguments : [' @session' ]
500
505
tags :
501
506
- { name: monolog.processor, method: processRecord, channel: main }
502
507
0 commit comments