Changed for log to warn