From bb4bf2800c846e44b7c342322ebe9739e2bd69ec Mon Sep 17 00:00:00 2001 From: Rajko Albrecht <ral@alwins-world.de> Date: Mon, 11 Feb 2019 13:24:12 +0100 Subject: [PATCH] Re-disable log to logfile as before. --- interface/lib/app.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php index 79be4c9abb..f8b59317d0 100755 --- a/interface/lib/app.inc.php +++ b/interface/lib/app.inc.php @@ -188,7 +188,7 @@ class app { $tstamp = time(); $msg = '[INTERFACE]: '.$msg; $this->db->query("INSERT INTO sys_log (server_id,datalog_id,loglevel,tstamp,message) VALUES (?, 0, ?, ?, ?)", $server_id, $priority,$tstamp,$msg); - + /* if (is_writable($this->_conf['log_file'])) { if (!$fp = fopen ($this->_conf['log_file'], 'a')) { $this->error('Unable to open logfile: ' . $this->_conf['log_file']); @@ -200,7 +200,7 @@ class app { } else { $this->error('Unable to write to logfile: ' . $this->_conf['log_file']); } - + */ } } -- GitLab