commander : added GetCmdStr to GetLogCmd