def __init__(self): self.http = {} logger = logging.getLogger('groknator.grokrrrs.base.HTTPGrokrrr') try: self.loggers['http'] = logger except AttributeError: self.loggers = {} self.loggers['http'] = logger BaseGrokrrr.__init__(self)
def __init__(self): self.file = {} logger = logging.getLogger('groknator.grokrrrs.html.FileGrokrrr') try: self.loggers['file'] = logger except AttributeError: self.loggers = {} self.loggers['file'] = logger try: base = self.base except AttributeError: BaseGrokrrr.__init__(self)
def __init__(self): self.html = {} logger = logging.getLogger('groknator.grokrrrs.html.HTMLGrokrrr') try: self.loggers['html'] = logger except AttributeError: self.loggers = {} self.loggers['html'] = logger try: http = self.http except AttributeError: HTTPGrokrrr.__init__(self) try: textfile = self.file except AttributeError: TextFileGrokrrr.__init__(self) try: base = self.base except AttributeError: BaseGrokrrr.__init__(self)