[common] fix Logger names of BaseCategory extractors

update of d11ec009
fixes regressions introduced in 0c178846
This commit is contained in:
Mike Fährmann
2024-07-12 22:21:42 +02:00
parent 668219b36e
commit 6110e3f940

View File

@@ -791,10 +791,11 @@ class BaseExtractor(Extractor):
instances = ()
def __init__(self, match):
Extractor.__init__(self, match)
if not self.category:
self.groups = match.groups()
self.match = match
self._init_category()
self._cfgpath = ("extractor", self.category, self.subcategory)
Extractor.__init__(self, match)
def _init_category(self):
for index, group in enumerate(self.groups):