Skip to content

Commit

Permalink
Avoid logging pywarnings (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquingx authored Jan 31, 2024
1 parent 186abc8 commit c539942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion estela_scrapy/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def init_logging():

# Silence commonly used noisy libraries
nh = logging.NullHandler()
for ln in ["requests"] + queue_noisy_libraries:
for ln in ["requests", "py.warnings"] + queue_noisy_libraries:
lg = logging.getLogger(ln)
lg.propagate = 0
lg.addHandler(nh)
Expand Down

0 comments on commit c539942

Please sign in to comment.