update regexp, and make parse log print once