From a3cb1dbd4d93079af44c5186ac8cf6eb1a886421 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Fri, 25 May 2018 19:42:28 +0200 Subject: [PATCH] Update jailreader.py changed log-level of annoying message "no file(s) found for glob" to NOTICE - this is rather a warning (not error). --- fail2ban/client/jailreader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/client/jailreader.py b/fail2ban/client/jailreader.py index 382d3bc8..651bbc37 100644 --- a/fail2ban/client/jailreader.py +++ b/fail2ban/client/jailreader.py @@ -220,7 +220,7 @@ class JailReader(ConfigReader): path, tail = path if len(path) > 1 else (path[0], "head") pathList = JailReader._glob(path) if len(pathList) == 0: - logSys.error("No file(s) found for glob %s" % path) + logSys.notice("No file(s) found for glob %s" % path) for p in pathList: found_files += 1 stream.append(