diff --git a/lib/Cake/Console/Shell.php b/lib/Cake/Console/Shell.php index 679465f6e..71e66d581 100644 --- a/lib/Cake/Console/Shell.php +++ b/lib/Cake/Console/Shell.php @@ -878,12 +878,12 @@ class Shell extends Object { return; } CakeLog::config('stdout', array( - 'engine' => 'ConsoleLog', + 'engine' => 'Console', 'types' => array('notice', 'info'), 'stream' => $this->stdout, )); CakeLog::config('stderr', array( - 'engine' => 'ConsoleLog', + 'engine' => 'Console', 'types' => array('emergency', 'alert', 'critical', 'error', 'warning', 'debug'), 'stream' => $this->stderr, )); diff --git a/lib/Cake/Log/Engine/SyslogLog.php b/lib/Cake/Log/Engine/SyslogLog.php index cc233c3f3..d38405bd3 100644 --- a/lib/Cake/Log/Engine/SyslogLog.php +++ b/lib/Cake/Log/Engine/SyslogLog.php @@ -45,7 +45,7 @@ class SyslogLog extends BaseLog { * * {{{ * CakeLog::config('error', array( - * 'engine' => 'SyslogLog', + * 'engine' => 'Syslog', * 'types' => array('emergency', 'alert', 'critical', 'error'), * 'format' => "%s: My-App - %s", * 'prefix' => 'Web Server 01' diff --git a/lib/Cake/Test/Case/Console/ShellTest.php b/lib/Cake/Test/Case/Console/ShellTest.php index 7197a2c96..10e15be6a 100644 --- a/lib/Cake/Test/Case/Console/ShellTest.php +++ b/lib/Cake/Test/Case/Console/ShellTest.php @@ -855,7 +855,7 @@ TEXT; array('types' => 'error'), )); TestCakeLog::config('console', array( - 'engine' => 'ConsoleLog', + 'engine' => 'Console', 'stream' => 'php://stderr', )); TestCakeLog::replace('console', $mock); diff --git a/lib/Cake/Test/Case/Log/Engine/ConsoleLogTest.php b/lib/Cake/Test/Case/Log/Engine/ConsoleLogTest.php index 7266fb6c9..7cfb3d0ed 100644 --- a/lib/Cake/Test/Case/Log/Engine/ConsoleLogTest.php +++ b/lib/Cake/Test/Case/Log/Engine/ConsoleLogTest.php @@ -78,7 +78,7 @@ class ConsoleLogTest extends CakeTestCase { */ public function testConsoleOutputWrites() { TestCakeLog::config('test_console_log', array( - 'engine' => 'TestConsoleLog', + 'engine' => 'TestConsole', )); $mock = $this->getMock('TestConsoleLog', array('write'), array( @@ -97,7 +97,7 @@ class ConsoleLogTest extends CakeTestCase { */ public function testCombinedLogWriting() { TestCakeLog::config('test_console_log', array( - 'engine' => 'TestConsoleLog', + 'engine' => 'TestConsole', )); $mock = $this->getMock('TestConsoleLog', array('write'), array( array('types' => 'error'), @@ -133,7 +133,7 @@ class ConsoleLogTest extends CakeTestCase { */ public function testDefaultOutputAs() { TestCakeLog::config('test_console_log', array( - 'engine' => 'TestConsoleLog', + 'engine' => 'TestConsole', )); if (DS === '\\' && !(bool)env('ANSICON')) { $expected = ConsoleOutput::PLAIN;