Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-10-07 00:47:11 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-10-07 00:47:22 +0400
commit6c11ad21c86a3bac8111d5a4c08bc635984d2129 (patch)
treeff7d27edc8483e65ee0a39f0247e011e1855f843 /core/Session.php
parent57501bfc33ed680cdde8c9177e8dc0ea42005011 (diff)
Removed Piwik::log and replace with calls to Log::... functions. Also changed logging level on travis.
Diffstat (limited to 'core/Session.php')
-rw-r--r--core/Session.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Session.php b/core/Session.php
index fd17a48e59..a19a546dab 100644
--- a/core/Session.php
+++ b/core/Session.php
@@ -11,6 +11,7 @@
namespace Piwik;
use Exception;
+use Piwik\Log;
use Piwik\Session\SaveHandler\DbTable;
use Zend_Session;
@@ -120,7 +121,7 @@ class Session extends Zend_Session
Zend_Session::start();
register_shutdown_function(array('Zend_Session', 'writeClose'), true);
} catch (Exception $e) {
- Piwik::log('Unable to start session: ' . $e->getMessage());
+ Log::warning('Unable to start session: ' . $e->getMessage());
$enableDbSessions = '';
if (DbHelper::isInstalled()) {