log a warning