[ADD] Added logs, sqlite3 open / close database.