Use java.util.logging facilities.