add log in dmm_fx