Changed REGEXs to look for updated tags in log file

This commit is contained in:
Asif Bacchus 2018-09-27 17:00:48 -06:00
parent f0bc037416
commit 7f4de4f0f3

View File

@ -69,10 +69,7 @@ elsif ($detailLevel >= 1 && $detailLevel <= 4) {
if ($ThisLine =~ /\-- \[ERROR\] /) { if ($ThisLine =~ /\-- \[ERROR\] /) {
print $ThisLine; print $ThisLine;
} }
elsif ($ThisLine =~ /up-to-date./) { elsif ($ThisLine =~ /\-- \[STATUS\] /) {
print $ThisLine;
}
elsif ($ThisLine =~ /needs updating.../) {
print $ThisLine; print $ThisLine;
} }
elsif ($ThisLine =~ /\-- \[SUCCESS\] /) { elsif ($ThisLine =~ /\-- \[SUCCESS\] /) {
@ -88,10 +85,7 @@ elsif ($detailLevel == 5) {
if ($ThisLine =~ /\-- \[ERROR\] /) { if ($ThisLine =~ /\-- \[ERROR\] /) {
print $ThisLine; print $ThisLine;
} }
elsif ($ThisLine =~ /up-to-date./) { elsif ($ThisLine =~ /\-- \[STATUS\] /) {
print $ThisLine;
}
elsif ($ThisLine =~ /needs updating.../) {
print $ThisLine; print $ThisLine;
} }
elsif ($ThisLine =~ /\-- \[SUCCESS\] /) { elsif ($ThisLine =~ /\-- \[SUCCESS\] /) {