Add improved logging facilities.