diff --git a/app/core/config.py b/app/core/config.py index ce41af1a..c6dd5ee5 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -90,7 +90,7 @@ def get_emails_enabled(cls, v: bool, values: Dict[str, Any]) -> bool: # Logging LOGGING_PATH: str = "./logs" LOGGING_FILENAME: str = "{time:YYYY-MM-DD}.log" - LOGGING_LEVEL: str = "debug" + LOGGING_LEVEL: str = "info" LOGGING_ROTATION: str = "20 days" LOGGING_RETENTION: str = "1 months" LOGGING_FORMAT: str = ( diff --git a/app/otbr_manager/otbr_manager.py b/app/otbr_manager/otbr_manager.py index dd8c0cc9..7e25274c 100644 --- a/app/otbr_manager/otbr_manager.py +++ b/app/otbr_manager/otbr_manager.py @@ -142,7 +142,7 @@ async def start_device(self, config: ThreadAutoConfig) -> bool: except (asyncio.exceptions.TimeoutError, ThreadBorderRouterError): err_msg = "Border router does not start properly for " + self.__docker_image - logger.debug(self.__otbr_docker.logs().decode("utf-8")) + logger.warning(self.__otbr_docker.logs().decode("utf-8")) logger.error(err_msg) self.destroy_device() raise ThreadBorderRouterError(err_msg)