Skip to content
Snippets Groups Projects
Commit b9b98c17 authored by William Panduro Vazquez's avatar William Panduro Vazquez Committed by Graeme Stewart
Browse files

fix for ATR-14794 (TrigConfigSvc-01-01-67-01)

parent f41be1b1
No related merge requests found
......@@ -28,12 +28,13 @@ class TmpThr(threading.Thread):
output = os.popen(self.syscmd).readlines()
maxlevel = 0
for line in output:
if ' warning ' in line.lower():
line = line.lower()
if ' warning ' in line:
maxlevel = max(1,maxlevel)
if ' error ' in line.lower():
maxlevel = max(2,maxlevel)
elif ' fatal ' in line.lower() or 'exception ' in line.lower():
maxlevel = max(3,maxlevel)
if ' error ' in line and not 'connection refused' in line:
maxlevel = max(2,maxlevel)
elif ' fatal ' in line.lower() or 'exception ' in line.lower():
maxlevel = max(3,maxlevel)
output = ''.join(output)
if maxlevel==1:
msg.warning(output)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment