Storing the log in the database #154