diff options
-rw-r--r-- | config/global.ini.php | 2 | ||||
-rw-r--r-- | core/Plugin/Visualization.php | 2 | ||||
-rw-r--r-- | core/Session.php | 2 | ||||
-rwxr-xr-x | plugins/UserCountry/GeoIPAutoUpdater.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index bc14fce1e4..7c9d9e1bc0 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -58,7 +58,7 @@ log_writers[] = screen ; log level, everything logged w/ this level or one of greater severity ; will be logged. everything else will be ignored. possible values are: ; NONE, ERROR, WARN, INFO, DEBUG, VERBOSE -log_level = WARN +log_level = ERROR ; if set to 1, only requests done in CLI mode (eg. the ./console core:archive cron run) will be logged ; NOTE: log_only_when_debug_parameter will also be checked for diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index e7e79c62e2..938bcb7a4d 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -177,7 +177,7 @@ class Visualization extends ViewDataTable } catch (NoAccessException $e) { throw $e; } catch (\Exception $e) { - Log::warning("Failed to get data from API: " . $e->getMessage() . "\n" . $e->getTraceAsString()); + Log::error("Failed to get data from API: " . $e->getMessage() . "\n" . $e->getTraceAsString()); $message = $e->getMessage(); if (\Piwik_ShouldPrintBackTraceWithMessage()) { diff --git a/core/Session.php b/core/Session.php index 24595cd764..d8fa47b4d2 100644 --- a/core/Session.php +++ b/core/Session.php @@ -115,7 +115,7 @@ class Session extends Zend_Session parent::start(); register_shutdown_function(array('Zend_Session', 'writeClose'), true); } catch (Exception $e) { - Log::warning('Unable to start session: ' . $e->getMessage()); + Log::error('Unable to start session: ' . $e->getMessage()); $enableDbSessions = ''; if (DbHelper::isInstalled()) { diff --git a/plugins/UserCountry/GeoIPAutoUpdater.php b/plugins/UserCountry/GeoIPAutoUpdater.php index d12be6aace..64b69be435 100755 --- a/plugins/UserCountry/GeoIPAutoUpdater.php +++ b/plugins/UserCountry/GeoIPAutoUpdater.php @@ -538,7 +538,7 @@ class GeoIPAutoUpdater extends ScheduledTask self::getTestLocationCatchPhpErrors($provider); if (self::$unzipPhpError !== null) { list($errno, $errstr, $errfile, $errline) = self::$unzipPhpError; - Log::warning("GeoIPAutoUpdater: Encountered PHP error when performing redundant tests on GeoIP " + Log::error("GeoIPAutoUpdater: Encountered PHP error when performing redundant tests on GeoIP " . "%s database: %s: %s on line %s of %s.", $type, $errno, $errstr, $errline, $errfile); // get the current filename for the DB and an available new one to rename it to |