SERVER-14476 fixed LogRecordingScope to ignore log messages from background threads