mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 04:03:06 +00:00
setup rich tracebacks width properly
This commit is contained in:
parent
5e4b78d9e0
commit
6742888278
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
__package__ = 'archivebox.core'
|
||||
import re
|
||||
import shutil
|
||||
import tempfile
|
||||
import logging
|
||||
|
||||
|
@ -110,6 +111,9 @@ SETTINGS_LOGGING = {
|
|||
django,
|
||||
pydantic,
|
||||
],
|
||||
"tracebacks_width": shutil.get_terminal_size((100, 10)).columns - 1,
|
||||
"tracebacks_word_wrap": False,
|
||||
"tracebacks_show_locals": False,
|
||||
},
|
||||
"logfile": {
|
||||
"level": "INFO",
|
||||
|
|
Loading…
Reference in a new issue