Use java.util.logging facilities.

We should get rid of all the System.out.printlns