Logger fixes

Logger works OK now using the Java Logger