upgrade log4j.properties and comments to hibernate4