Skip to content

Commit d2aa5bf

Browse files
committed
Fix param name, refs #156
1 parent d2fd04a commit d2aa5bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
* - newrelic:
174174
* - [level]: level name or int value, defaults to DEBUG
175175
* - [bubble]: bool, defaults to true
176-
* - [app-name]: new relic app name, default null
176+
* - [app_name]: new relic app name, default null
177177
*
178178
* - hipchat:
179179
* - token: hipchat api token
@@ -299,7 +299,7 @@ public function getConfigTreeBuilder()
299299
->scalarNode('priority')->defaultValue(0)->end()
300300
->scalarNode('level')->defaultValue('DEBUG')->end()
301301
->booleanNode('bubble')->defaultTrue()->end()
302-
->scalarNode('app-name')->defaultNull()->end()
302+
->scalarNode('app_name')->defaultNull()->end()
303303
->booleanNode('include_stacktraces')->defaultFalse()->end()
304304
->scalarNode('path')->defaultValue('%kernel.logs_dir%/%kernel.environment%.log')->end() // stream and rotating
305305
->scalarNode('file_permission') // stream and rotating

DependencyInjection/MonologExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ private function buildHandler(ContainerBuilder $container, $name, array $handler
629629
$definition->setArguments(array(
630630
$handler['level'],
631631
$handler['bubble'],
632-
$handler['app-name'],
632+
$handler['app_name'],
633633
));
634634
break;
635635

0 commit comments

Comments
 (0)