Replace logs list with sqlite db.