mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-04 09:55:33 +10:00
fix rich logging issues
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
__package__ = 'archivebox.core'
|
||||
import re
|
||||
import tempfile
|
||||
import logging
|
||||
@@ -7,6 +8,8 @@ import django.template
|
||||
|
||||
import archivebox
|
||||
|
||||
from ..misc.logging import IS_TTY
|
||||
|
||||
|
||||
IGNORABLE_URL_PATTERNS = [
|
||||
re.compile(r"/.*/?apple-touch-icon.*\.png"),
|
||||
@@ -101,7 +104,7 @@ SETTINGS_LOGGING = {
|
||||
"formatter": "rich",
|
||||
"level": "DEBUG",
|
||||
"markup": False,
|
||||
"rich_tracebacks": True,
|
||||
"rich_tracebacks": IS_TTY,
|
||||
"filters": ["noisyrequestsfilter"],
|
||||
"tracebacks_suppress": [
|
||||
django,
|
||||
|
||||
Reference in New Issue
Block a user