Skip to content

Commit

Permalink
Fix's logger
Browse files Browse the repository at this point in the history
  • Loading branch information
morington committed Jun 27, 2024
1 parent 2b92cba commit 2685f22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion confhub/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

SetupLogger(
name_registration=[
LoggerReg(name="confhub", level=LoggerReg.Level.INFO),
LoggerReg(name="*", level=LoggerReg.Level.INFO),
],
developer_mode=True
)
Expand Down
2 changes: 1 addition & 1 deletion confhub/__meta__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0.4a"
__version__ = "0.1.0.5a"
1 change: 1 addition & 0 deletions confhub/setup_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def __init__(
file_write_format: str = JSONFORMAT_FORMATTER
) -> None:
self.name_registration = [LoggerReg(name="", level=LoggerReg.Level.DEBUG)] if name_registration is None else name_registration
self.name_registration.extend([LoggerReg(name="confhub", level=LoggerReg.Level.INFO)])
self.developer_mode = developer_mode
self.log_to_file = log_to_file
self.logs_dir = logs_dir
Expand Down

0 comments on commit 2685f22

Please sign in to comment.