Skip to content

Commit

Permalink
name logger
Browse files Browse the repository at this point in the history
  • Loading branch information
cle-b committed Nov 30, 2024
1 parent 047fbb6 commit 4ca7bb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion httpdbg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from httpdbg.records import HTTPRecords


__version__ = "0.28.1"
__version__ = "0.28.2"

__all__ = ["httprecord", "HTTPRecords"]
2 changes: 1 addition & 1 deletion httpdbg/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def set_env_for_logging(log_level: LogLevel, path: Union[Path, None]):
@cache
def logger() -> logging.Logger:

logger = logging.getLogger()
logger = logging.getLogger("httpdbg")
log_level = int(os.environ.get(HTTPDBG_LOG_LEVEL, logging.WARNING))
logger.setLevel(log_level)

Expand Down

0 comments on commit 4ca7bb8

Please sign in to comment.