summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-02-04 15:03:00 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-02-04 21:48:20 +0100
commit8236193e8c45c629648651b2dedc106ba1acdc04 (patch)
tree6fc755b5f9eaed0a327b7a1399b549b059f5b1c6
parent10194b36280922489426440861b3625499ff149c (diff)
#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.
-rw-r--r--admin/WebConsole/includes/restfunctions.php2
1 files changed, 0 insertions, 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);
}