changed log level and return stmt