change log module , add register exit func, add signal process func