change log to warning