diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-10-07 03:43:33 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-10-07 03:43:50 +0400 |
commit | 37b0c37bc4960b9e40e6d3a11c428d2d3c033309 (patch) | |
tree | 7a0025924b87836eecf7a7c37bbcbc74d40fc527 /core/Log.php | |
parent | c94adb68bc72417da8769fbb1b8712a72e406849 (diff) |
Move deadlock info logging to Db.php, fix core updater translation regression, fix core updater css regression, change logger_message level column to string, and delete unneeded logger tables if not empty. Also includes some changes to travis build.
Diffstat (limited to 'core/Log.php')
-rw-r--r-- | core/Log.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Log.php b/core/Log.php index f0a1c528e3..4ad3543e6c 100644 --- a/core/Log.php +++ b/core/Log.php @@ -399,7 +399,7 @@ class Log $sql = "INSERT INTO " . Common::prefixTable('logger_message') . " (tag, timestamp, level, message)" . " VALUES (?, ?, ?, ?)"; - Db::query($sql, array($tag, $datetime, $level, (string)$message)); + Db::query($sql, array($tag, $datetime, self::getStringLevel($level), (string)$message)); } private function doLog($level, $message, $sprintfParams = array()) |