1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

More debug output

This commit is contained in:
downtownallday
2020-06-10 00:19:59 -04:00
parent 6ed1a2ad20
commit 2f1082a290
3 changed files with 25 additions and 14 deletions

View File

@@ -168,11 +168,11 @@ detect_slapd_log_error() {
record "$F_DANGER[ERROR] $line$F_RESET"
elif [ $r -eq 2 ]; then
let wc+=1
record "$F_WARN[WARN ] $line$F_RESET"
record "$F_WARN[ WARN] $line$F_RESET"
elif [ $r -eq 3 ]; then
let ignored+=1
else
record "[OK ] $line"
record "[ OK] $line"
fi
done
record "$ignored unreported/ignored log lines"
@@ -214,7 +214,7 @@ detect_dovecot_log_error() {
elif [ $r -eq 2 ]; then
let ignored+=1
else
record "[ OK] $line"
record "[ OK] $line"
fi
done
record "$ignored unreported/ignored log lines"