Commit 30f0e1a5 authored by Carl Chenet's avatar Carl Chenet


parent 9ba0ebf3
......@@ -36,7 +36,7 @@ def parse_logs(globalconf, goalconfs):
# extract paths to logs
logpaths = []
for logname in os.listdir(pathtologdir):
if logname.lower().endswith('.log') or logname.lower().endswith('.gz'):
if '.log' in logname.lower():
logpaths.append(os.path.join(pathtologdir, logname))
# parse each log
for log in logpaths:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment