Add logging facilities.