From 091f4f4c4de992c2b7f622c4d54efea937f2e4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Wed, 6 Mar 2019 07:46:06 +0100 Subject: [PATCH] Add documentation to avoid body content limitation in Symfony bundle --- integrations/symfony-bundle.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/integrations/symfony-bundle.rst b/integrations/symfony-bundle.rst index b93f847..e679378 100644 --- a/integrations/symfony-bundle.rst +++ b/integrations/symfony-bundle.rst @@ -106,6 +106,14 @@ reasons. Turn this on by changing the ``captured_body_length`` configuration. profiling: captured_body_length: 1000 # Capture the first 1000 chars of the HTTP body +You can set ``captured_body_length`` to ``null`` to avoid body limitation size. + +.. code-block:: yaml + + httplug: + profiling: + captured_body_length: ~ # Avoid truncation of body content + The profiling is automatically turned off when ``kernel.debug = false``. You can also disable the profiling by configuration.