store action logs to db(sqlite)