Skip to content

Commit 31e4f54

Browse files
committed
Turn down trafilatura logging
1 parent 4772841 commit 31e4f54

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

config/settings/production.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"propagate": False,
7070
}
7171

72+
# The analyzer can log very verbosely on error URLs
73+
LOGGING["loggers"]["trafilatura.downloads"] = {
74+
"handlers": ["null"],
75+
"propagate": False,
76+
}
77+
LOGGING["loggers"]["trafilatura.core"] = {
78+
"handlers": ["null"],
79+
"propagate": False,
80+
}
81+
7282

7383
# Cache
7484
# https://docs.djangoproject.com/en/dev/topics/cache/

0 commit comments

Comments
 (0)