Change the logging macros and log level to warning from error