Adding logging support to the tool. No more System.out.println should be added.