added a logger for counting freelist of SQLite database