change log.error to log.debug
Merge pull request #601 from wenshao/master

change log.error to log.debug
bug fixed for merged code
Merge pull request #603 from wenshao/master

bug fixed for merged code