added logging insertion
added insert logging