Fix debugs of upyun upload.

1) the typo of is_required is wrong.
2) there is no log module.