log4j API updated to prevent JDBC connection time-out