change index type to html
change log4j
setup log4j