set log level to warning
fix bug about exception hanlde