diff --git a/lib/Cake/Log/Engine/FileLog.php b/lib/Cake/Log/Engine/FileLog.php index 14ff20c3043..904e831f2ca 100644 --- a/lib/Cake/Log/Engine/FileLog.php +++ b/lib/Cake/Log/Engine/FileLog.php @@ -80,8 +80,6 @@ public function write($type, $message) { $filename = $this->_path . 'error.log'; } elseif (in_array($type, $debugTypes)) { $filename = $this->_path . 'debug.log'; - } elseif (in_array($type, $this->_config['scopes'])) { - $filename = $this->_path . $this->_file; } else { $filename = $this->_path . $type . '.log'; }