'Record emitted events to IPC database for asynchronous I/O
communication with the parent process'

def emit(self, record):

    conf.databaseCursor.execute('INSERT    INTO    logs    VALUES(NULL,    ?,    ?,    ?,    ?)', (conf.taskid, time.strftime('%X'), record.levelname, ((record.msg % record.args) if record.args else record.msg)))
