Skip to content

Commit

Permalink
Set default log level to info, to eliminate chatter from python runner
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelhm committed Nov 9, 2023
1 parent a68241b commit 76fddbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down
2 changes: 1 addition & 1 deletion app/otbr_manager/otbr_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 76fddbe

Please sign in to comment.