add logging feature to app using java.util.logging