From 6dfefb0e7355ea659d0525733f2406ed1ee65c4d Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 16 Oct 2014 15:59:35 +0200 Subject: [PATCH] CLI: Fix logging setup --- library/Icinga/Application/Cli.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/library/Icinga/Application/Cli.php b/library/Icinga/Application/Cli.php index 58daf5f2f..d329ce439 100644 --- a/library/Icinga/Application/Cli.php +++ b/library/Icinga/Application/Cli.php @@ -51,10 +51,9 @@ class Cli extends ApplicationBootstrap Logger::create( new Zend_Config( array( - 'enable' => true, - 'level' => Logger::$INFO, - 'type' => 'file', - 'target' => 'php://stderr' + 'level' => Logger::INFO, + 'log' => 'file', + 'file' => 'php://stderr' ) ) );