Skip to content

Commit bb4bf28

Browse files
author
Rajko Albrecht
committed
Re-disable log to logfile as before.
1 parent e42fd83 commit bb4bf28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/app.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public function log($msg, $priority = 0) {
188188
$tstamp = time();
189189
$msg = '[INTERFACE]: '.$msg;
190190
$this->db->query("INSERT INTO sys_log (server_id,datalog_id,loglevel,tstamp,message) VALUES (?, 0, ?, ?, ?)", $server_id, $priority,$tstamp,$msg);
191-
191+
/*
192192
if (is_writable($this->_conf['log_file'])) {
193193
if (!$fp = fopen ($this->_conf['log_file'], 'a')) {
194194
$this->error('Unable to open logfile: ' . $this->_conf['log_file']);
@@ -200,7 +200,7 @@ public function log($msg, $priority = 0) {
200200
} else {
201201
$this->error('Unable to write to logfile: ' . $this->_conf['log_file']);
202202
}
203-
203+
*/
204204
}
205205
}
206206

0 commit comments

Comments
 (0)