Skip to content

Commit

Permalink
Only log warnings for httpx
Browse files Browse the repository at this point in the history
Signed-off-by: Eiko Wagenknecht <[email protected]>
  • Loading branch information
eikowagenknecht committed Oct 15, 2023
1 parent f366e48 commit 15e64f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lootscraper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@

logger = logging.getLogger()

# Tone down the logging of httpx, we don't need to see every request
logging.getLogger("httpx").setLevel(logging.WARNING)

EXAMPLE_CONFIG_FILE = "config.default.toml"
LOGFORMAT = "%(asctime)s [%(levelname)s] (%(name)s) %(message)s"

Expand Down

0 comments on commit 15e64f0

Please sign in to comment.