add a warning log message.