Adjust logging to use built-in tools.