Pass log to MeasureSources by reference, since it's not wrapped with %shared_ptr
Fixup for source ID logging