def _add_exclusion_filters(handlers, excludes=None): if excludes: for h in handlers: h.addFilter(ExclusionFilter(excludes))
def _add_exclusion_filters(handlers): for h in handlers: h.addFilter(ExclusionFilter(cfg.CONF.log.excludes))