We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6669709 commit e36b950Copy full SHA for e36b950
matter_server/server/__main__.py
@@ -1,4 +1,5 @@
1
"""Script entry point to run the Matter Server."""
2
+
3
import argparse
4
import asyncio
5
import logging
@@ -110,6 +111,10 @@ def _setup_logging() -> None:
110
111
# We can restore the default log level again when we've patched the device controller
112
# to handle the raw attribute data to deal with custom clusters.
113
logging.getLogger("chip.clusters.Attribute").setLevel(logging.CRITICAL)
114
+ if not logging.getLogger().isEnabledFor(logging.DEBUG):
115
+ # (temporary) raise the log level of zeroconf as its a logs an annoying
116
+ # warning at startup while trying to bind to a loopback IPv6 interface
117
+ logging.getLogger("zeroconf").setLevel(logging.ERROR)
118
119
120
def main() -> None:
0 commit comments