[logsd] changetype of m variable