add log4j: fix a wrong nb_line when "update or insert"