From 8236193e8c45c629648651b2dedc106ba1acdc04 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Thu, 4 Feb 2021 15:03:00 +0100 Subject: #1021 remove LOG_INFO syslog Some distros enable *.* in syslog.conf to add all logging information to /var/log/syslog. The existing LOG_INFO syslog() entry that WebConsole generates fill up the log files very quickly. It writes every time WebConsole calls ogServer. Remove the LOG_INFO syslog() call. --- admin/WebConsole/includes/restfunctions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/admin/WebConsole/includes/restfunctions.php b/admin/WebConsole/includes/restfunctions.php index d45dd9c9..138c2730 100644 --- a/admin/WebConsole/includes/restfunctions.php +++ b/admin/WebConsole/includes/restfunctions.php @@ -121,8 +121,6 @@ function common_request($command, $type, $data = null) { curl_close($curl); - syslog(LOG_INFO, 'response '.$command.' ok!'); - return json_decode($curl_response, true); } -- cgit v1.2.3-18-g5258