add logging to message pumps