Merge pull request #62 from fengjingchao/master

framework: add logger option
fix framework failure in regression test