Skip to content

Commit

Permalink
Fix setting SDK log level on startup (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Mar 5, 2024
1 parent 0621241 commit 4551579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matter_server/server/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def init_logging(category: str) -> None:
"""Initialize Matter SDK logging. Filter by category."""

_LOGGER.info("Initializing CHIP/Matter Logging...")
global _category_num # pylint: disable=global-statement # noqa: PLW0603
_category_num = ERROR_CATEGORY_NONE
if category == "ERROR":
_category_num = ERROR_CATEGORY_ERROR
Expand Down

0 comments on commit 4551579

Please sign in to comment.