Upgrade logging deps and use JDK 7.