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
Sergey G. Brester 2018-05-25 19:42:28 +02:00 committed by GitHub
parent 1b4ba602ba
commit a3cb1dbd4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(