Create log.sql