Add more logging support.