Fix Logging with logback 1.0.12+
Update Logging code for Java 7