SubmitLogTask: make auto submit working

Signed-off-by: Peter Cai <xqsx43cxy@126.com>