Skip to content

Commit 3009191

Browse files
authored
Merge pull request #259 from jdecool/doc-disable-body-limitation
Add documentation to avoid body content limitation in Symfony bundle
2 parents b4ed129 + 091f4f4 commit 3009191

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

integrations/symfony-bundle.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ reasons. Turn this on by changing the ``captured_body_length`` configuration.
106106
profiling:
107107
captured_body_length: 1000 # Capture the first 1000 chars of the HTTP body
108108
109+
You can set ``captured_body_length`` to ``null`` to avoid body limitation size.
110+
111+
.. code-block:: yaml
112+
113+
httplug:
114+
profiling:
115+
captured_body_length: ~ # Avoid truncation of body content
116+
109117
The profiling is automatically turned off when ``kernel.debug = false``. You can
110118
also disable the profiling by configuration.
111119

0 commit comments

Comments
 (0)