Host log verbosity fix/cleanup

This commit is contained in:
Alfredo Cardigliano 2020-05-19 17:24:04 +02:00
parent 9ce25a32cf
commit 5b96269410
2 changed files with 3 additions and 3 deletions

View file

@ -101,8 +101,8 @@ function syslog_module.hooks.handleEvent(syslog_conf, message, host, priority)
return
end
-- Discard info messages (we should probably add a conf for this)
if level > host_log.all.script_conf.threshold then
-- Discard info messages
if level > syslog_conf.host_log.all.script_conf.threshold then
return
end