Skip to content

Commit

Permalink
Simplify logger name code
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Jan 22, 2024
1 parent c0ffb74 commit c7fdc1d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/zimit/zimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
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:
Expand Down

0 comments on commit c7fdc1d

Please sign in to comment.