Java config/log/unittest