refactor:
	db file path changed.
	close stmt.
new:
	join log save to db.