summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-10-16 17:14:05 +0300
committerGitHub <noreply@github.com>2023-10-16 17:14:05 +0300
commitabe80b7c1ac9aa379686416909740e058ac39604 (patch)
tree678614a463d54cc2daad98eb0c7c1bd393b52b3c
parentbdf83311c317b32d72eaa4b59ab77e5d9fe8b37c (diff)
disable logging to syslog by default (#16214)
* disable logging to syslog * set to 0 the rest of log_syslog vars
-rw-r--r--libnetdata/log/log.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libnetdata/log/log.c b/libnetdata/log/log.c
index 60d13f3b08..02bb776c5b 100644
--- a/libnetdata/log/log.c
+++ b/libnetdata/log/log.c
@@ -12,11 +12,11 @@ int web_server_is_multithreaded = 1;
const char *program_name = "";
uint64_t debug_flags = 0;
-int access_log_syslog = 1;
-int error_log_syslog = 1;
-int collector_log_syslog = 1;
-int output_log_syslog = 1; // debug log
-int health_log_syslog = 1;
+int access_log_syslog = 0;
+int error_log_syslog = 0;
+int collector_log_syslog = 0;
+int output_log_syslog = 0; // debug log
+int health_log_syslog = 0;
int stdaccess_fd = -1;
FILE *stdaccess = NULL;