1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

make logging configurable; add logging to syslog

This commit is contained in:
Andrew Dolgov
2013-04-19 09:45:43 +04:00
parent f1c6dd7e90
commit b367c951b9
7 changed files with 114 additions and 55 deletions

View File

@@ -2,9 +2,6 @@
class Logger_SQL {
function log_error($errno, $errstr, $file, $line, $context) {
if ($errno == E_NOTICE) return false;
if (Db::get() && get_schema_version() > 117) {
$errno = Db::get()->escape_string($errno);