summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey G. Brester <github@sebres.de>2018-05-25 19:42:28 +0200
committerGitHub <noreply@github.com>2018-05-25 19:42:28 +0200
commita3cb1dbd4d93079af44c5186ac8cf6eb1a886421 (patch)
tree11f069a20b6ad65e9ffb727c3261f7acf5a89a75
parent1b4ba602bac38a067b5abb9a941feab53c36c915 (diff)
downloadfail2ban-a3cb1dbd4d93079af44c5186ac8cf6eb1a886421.tar.gz
Update jailreader.py
changed log-level of annoying message "no file(s) found for glob" to NOTICE - this is rather a warning (not error).
-rw-r--r--fail2ban/client/jailreader.py2
1 files changed, 1 insertions, 1 deletions
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(