Log new instances into sqlite