change log level and message