Debug output to the log stream instead of cerr.