Simplify logger name code

This commit is contained in:
benoit74 2024-01-22 10:38:25 +01:00
parent c0ffb74d8c
commit c7fdc1d11e
No known key found for this signature in database
GPG Key ID: B89606434FC7B530

View File

@ -37,9 +37,7 @@ EXIT_CODE_WARC2ZIM_CHECK_FAILED = 2
EXIT_CODE_CRAWLER_LIMIT_HIT = 11
NORMAL_WARC2ZIM_EXIT_CODE = 100
LOGGER_NAME = Path(__file__).parent.name
logger = getLogger(name=LOGGER_NAME, level=logging.INFO)
logger = getLogger(name="zimit", level=logging.INFO)
class ProgressFileWatcher: