Make the loggers all quiet.
Set the string comparison to ignore letter cases.
Code tidy.