Skip to content

Commit

Permalink
Merge pull request #10 from tuxudo/patch-2
Browse files Browse the repository at this point in the history
Collect Server Errors
  • Loading branch information
tuxudo authored Apr 14, 2022
2 parents d41e6b4 + e6b29d2 commit d180b29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/munkireportinfo
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def get_log(result):
if " ERROR: " in line:
mr_log_error.append(line.split(" ERROR: ")[-1].strip())
error_count = error_count + 1
if "Server Error: " in line:
mr_log_error.append(line.split("Server Error: ")[-1].strip())
error_count = error_count + 1
if " WARNING: " in line:
mr_log_warning.append(line.split(" WARNING: ")[-1].strip())
warning_count = warning_count + 1
Expand Down

0 comments on commit d180b29

Please sign in to comment.