new api applied
log while command executing code