def start(self):
        sqlite_file = self.cfg.get('output_sqlite', 'db_file')
        try:
            self.db = adbapi.ConnectionPool('sqlite3',
                    database = sqlite_file, check_same_thread=False)
        except sqlite3.OperationalError as e:
            log.msg(e)

        self.db.start()
Start sqlite3 logging module using Twisted ConnectionPool.
dataset/ETHPy150Open cowrie/cowrie/cowrie/output/sqlite.py/Output.start