Skip to content

Commit ce3ea9a

Browse files
committed
minor #12367 Update logging.rst (vmeijer)
This PR was merged into the 3.4 branch. Discussion ---------- Update logging.rst In the XML example of [Logging - How to Rotate your Log Files](https://symfony.com/doc/current/logging.html#how-to-rotate-your-log-files) a dash is used for the attribute `max-files`, but in the comment above the `monolog:handler` XML element an underscore was used (`max_files`). Other XML examples in the Symfony Docs (like the routing doc page) use dashes for XML attributes, so it looks like this XML attribute shares that style, and the comment could be changed instead. Commits ------- e9f12fc Fix typo for max-files
2 parents dc40298 + e9f12fc commit ce3ea9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ option of your handler to ``rotating_file``:
315315
https://symfony.com/schema/dic/monolog/monolog-1.0.xsd">
316316
317317
<monolog:config>
318-
<!-- "max_files": max number of log files to keep
318+
<!-- "max-files": max number of log files to keep
319319
defaults to zero, which means infinite files -->
320320
<monolog:handler name="main"
321321
type="rotating_file"

0 commit comments

Comments
 (0)