diff --git a/Mage/Console.php b/Mage/Console.php index bd4c90b..b6f9865 100644 --- a/Mage/Console.php +++ b/Mage/Console.php @@ -106,18 +106,21 @@ class Console $showGreetings = false; } else { self::$logEnabled = $config->general('logging', false); - if(self::$logEnabled) - { - self::log("Logging enabled"); - self::output(' Logging enabled: ' . self::getLogFile() . '', 1, 1); - } } // Greetings if ($showGreetings) { - self::output('Starting Magallanes', 0, 2); + if (!self::$logEnabled) { + self::output('Starting Magallanes', 0, 2); + + } else { + self::output('Starting Magallanes', 0, 1); + self::log("Logging enabled"); + self::output('Logging enabled: ' . self::getLogFile() . '', 1, 2); + } } + // Run Command - Check if there is a Configuration Error if ($configError !== false) { self::output('' . $configError . '', 1, 2);