Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfad26c

Browse files
committed
feature #4605 Adding a link to log things in the prod environment (weaverryan)
This PR was merged into the 2.6 branch. Discussion ---------- Adding a link to log things in the prod environment | Q | A | ------------- | --- | Doc fix? | no | New docs? | no | Applies to | 2.6+ | Fixed tickets | n/a Hiya guys! This just adds a link so you have some details on how you could log this stuff in the `prod` environment. Thanks! Commits ------- 657284e Adding a link to log things in the prod environment
2 parents 3643ec2 + 657284e commit cfad26c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,10 @@ API. The ``api`` option is used to switch between the different implementations:
644644
legacy implementation and the ``2.5`` implementation. You have to use
645645
PHP 5.3.9 or higher to be able to use this implementation.
646646

647+
To capture these logs in the ``prod`` environment, configure a
648+
:doc:`channel handler </cookbook/logging/channels_handlers>` in ``config_prod.yml`` for
649+
the ``translation`` channel and set its ``level`` to ``debug``.
650+
647651
Full default Configuration
648652
--------------------------
649653

0 commit comments

Comments
 (0)