Fixed pom.xml
implemented log.