mirror of https://github.com/fail2ban/fail2ban
Update jailreader.py
changed log-level of annoying message "no file(s) found for glob" to NOTICE - this is rather a warning (not error).pull/2141/merge
parent
1b4ba602ba
commit
a3cb1dbd4d
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue