def __init__(self): path = os.path.dirname(os.path.abspath(__file__)) if "library.zip" in path: path = os.path.dirname(path) cfg_path = os.path.join(path, "pulse2agent.ini") logging.config.fileConfig(cfg_path) self.stopEvent = cx_Threads.Event() config = Config() config.read(cfg_path) self.dp = Dispatcher(config)
def __init__(self, debug=False): logging.getLogger().handlers = [] self.stopEvent = cx_Threads.Event() self.debug = debug
def __init__(self): self.stopEvent = cx_Threads.Event() self.pollerStop = threading.Event() self.config = PullClientConfig.instance() logging.config.fileConfig(self.config.config_file)
def __init__(self): self.event = cx_Threads.Event() self.stopEvent = cx_Threads.Event() self.stopRequested = False
def __init__(self): cx_Logging.Info("creating handler instance") self.stopEvent = cx_Threads.Event()