mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-20 18:05:19 -04: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'
|
__package__ = 'archivebox.core'
|
||||||
import re
|
import re
|
||||||
|
import shutil
|
||||||
import tempfile
|
import tempfile
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
@ -110,6 +111,9 @@ SETTINGS_LOGGING = {
|
||||||
django,
|
django,
|
||||||
pydantic,
|
pydantic,
|
||||||
],
|
],
|
||||||
|
"tracebacks_width": shutil.get_terminal_size((100, 10)).columns - 1,
|
||||||
|
"tracebacks_word_wrap": False,
|
||||||
|
"tracebacks_show_locals": False,
|
||||||
},
|
},
|
||||||
"logfile": {
|
"logfile": {
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue