[FOLD] ripple: more logging and fixes