Implement logging setup.