Example #1
0
    def setup_logger(self, host):
	log_helper = Log_helper(host, log_name="%s_logger" % host)

	backup_lock.acquire()
	try:
	    log_helper.setup()
	finally:
            backup_lock.release()

	return log_helper
Example #2
0
    def setup_logger(self, host):
        log_helper = Log_helper(host, log_name="%s_logger" % host)

        backup_lock.acquire()
        try:
            log_helper.setup()
        finally:
            backup_lock.release()

        return log_helper
Example #3
0
    def setup_logger(self, host):
        log_helper = Log_helper(host, log_name="%s_logger" % host)
        log_helper.setup()

        return log_helper
Example #4
0
    def setup_logger(self, host):
	log_helper = Log_helper(host, log_name="%s_logger" % host)
	log_helper.setup()

	return log_helper