move logcapture to rms-testing