diff --git a/src/log.c b/src/log.c index 937b675a7..9a866f1a2 100644 --- a/src/log.c +++ b/src/log.c @@ -1832,7 +1832,7 @@ void __send_log(struct list *logsrvs, struct buffer *tag, int level, /* Send log messages to syslog server. */ nblogger = 0; list_for_each_entry(logsrv, logsrvs, list) { - static THREAD_LOCAL int in_range = 1; + int in_range = 1; /* we can filter the level of the messages that are sent to each logger */ if (level > logsrv->level)