Log4J working
Small fixes