using jdk7;
add logging.properties and define log format;