X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsyslog.c;h=e8c4be561440a377821d4e78c5974ca137f65283;hb=a07f44c9cd5828a84545dcfe22544bfed2ea8812;hp=beb82456b40649c0b15fc0d5327b73787fc6655c;hpb=d486225f89ea52d8ed2b4242eba2ad94c409f837;p=collectd.git diff --git a/src/syslog.c b/src/syslog.c index beb82456..e8c4be56 100644 --- a/src/syslog.c +++ b/src/syslog.c @@ -26,8 +26,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #if HAVE_SYSLOG_H #include @@ -56,6 +56,7 @@ static int sl_config(const char *key, const char *value) { } else if (strcasecmp(key, "NotifyLevel") == 0) { notif_severity = parse_notif_severity(value); if (notif_severity < 0) + ERROR("syslog: invalid notification severity [%s]", value); return 1; }