def registerSessionEvents(session): current = transaction.get(); if not current.description: raise BstSystemError('Current transaction has no description!') logger.debug('Joining transaction [%s, txn.%d]', str(current.description), get_thread_ident()) register(session)
def registerSessionEvents(session): current = transaction.get() if not current.description: raise BstSystemError('Current transaction has no description!') logger.debug('Joining transaction [%s, txn.%d]', str(current.description), get_thread_ident()) register(session)
def _makeLogger(): #pragma NO COVER if _LOGGER is not None: return _LOGGER return logging.getLogger("txn.%d" % get_thread_ident())