Correct sqlite log statement.