Log4J properly saves logs to file