sqllite and log