Fix the log message statements so they correspond to the log level.