log4j works for console output, need to fix log to file