change log framework to slf4j+logback
fix some bugs.