Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cfad26c

Browse filesBrowse 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
Copy full SHA for cfad26c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.