10000 feature #24785 [Profiler][Translation] Logging false by default and d… · symfony/symfony@424cbcc · GitHub
[go: up one dir, main page]

Skip to content

Commit 424cbcc

Browse files
committed
feature #24785 [Profiler][Translation] Logging false by default and desactivated when using the profiler (Simperfit)
This PR was merged into the 4.1-dev branch. Discussion ---------- [Profiler][Translation] Logging false by default and desactivated when using the profiler | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | #23146 | License | MIT | Doc PR | todo. Commits ------- 0252830 [Profiler][Translation] Logging false by default and desactivated when using the profiler
2 parents ee90e05 + 0252830 commit 424cbcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ private function addTranslatorSection(ArrayNodeDefinition $rootNode)
623623
->prototype('scalar')->end()
624624
->defaultValue(array('en'))
625625
->end()
626-
->booleanNode('logging')->defaultValue($this->debug)->end()
626+
->booleanNode('logging')->defaultValue(false)->end()
627627
->scalarNode('formatter')->defaultValue('translator.formatter.default')->end()
628628
->scalarNode('default_path')
629629
->info('The default path used to load translations')

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ protected static function getBundleDefaultConfig()
152152
'translator' => array(
153153
'enabled' => !class_exists(FullStack::class),
154154
'fallbacks' => array('en'),
155-
'logging' => true,
155+
'logging' => false,
156156
'formatter' => 'translator.formatter.default',
157157
'paths' => array(),
158158
'default_path' => '%kernel.project_dir%/translations',

0 commit comments

Comments
 (0)
0