Change the log level to WARN in unittests. Refs #17600.