Skip to content

Commit 6ea1da1

Browse files
committed
minor #6700 Update monolog.rst (zhil)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6700). Discussion ---------- Update monolog.rst Default value for buffer_size is unlimited, which worth being mentioned Commits ------- c5a2d9e Update monolog.rst
2 parents 4cd15a9 + c5a2d9e commit 6ea1da1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reference/configuration/monolog.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Full Default Configuration
2727
main:
2828
type: fingers_crossed
2929
action_level: WARNING
30-
buffer_size: 30
30+
# by default buffer_size is unlimited, which could generate huge logs in some cases.
31+
buffer_size: 0
3132
handler: custom
3233
console:
3334
type: console
@@ -97,6 +98,7 @@ Full Default Configuration
9798
type="fingers_crossed"
9899
action-level="warning"
99100
handler="custom"
101+
buffer-size="0"
100102
/>
101103
<monolog:handler
102104
name="console"

0 commit comments

Comments
 (0)