Skip to content

Commit

Permalink
chore: disable noise loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi authored and fedirz committed Feb 13, 2025
1 parent 2068a02 commit eb150f2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/speaches/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,23 @@ def setup_logger(log_level: str) -> None:
"level": log_level.upper(),
"handlers": ["stdout"],
},
# TODO: do I need to specify `handlers` for each logger?
"PIL": {
"level": "INFO",
"handlers": ["stdout"],
},
"httpx": {
"level": "INFO",
"handlers": ["stdout"],
},
"python_multipart": {
"level": "INFO",
"handlers": ["stdout"],
},
"httpcore": {
"level": "INFO",
"handlers": ["stdout"],
},
},
}

Expand Down

0 comments on commit eb150f2

Please sign in to comment.