Improved logging of processing