move monkey_patches.py into archivebox.misc subfolder

This commit is contained in:
Nick Sweeting 2024-11-18 19:10:42 -08:00
parent 4a5d607296
commit 4c25e90378
No known key found for this signature in database
3 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ check_not_root()
check_io_encoding() check_io_encoding()
# print('INSTALLING MONKEY PATCHES') # print('INSTALLING MONKEY PATCHES')
from .monkey_patches import * # noqa from .misc.monkey_patches import * # noqa
# print('DONE INSTALLING MONKEY PATCHES') # print('DONE INSTALLING MONKEY PATCHES')

View file

@ -183,7 +183,7 @@ SETTINGS_LOGGING = {
"level": "ERROR", "level": "ERROR",
}, },
"django.channels.server": { "django.channels.server": {
# see archivebox.monkey_patches.ModifiedAccessLogGenerator for dedicated daphne server logging settings # see archivebox.misc.monkey_patches.ModifiedAccessLogGenerator for dedicated daphne server logging settings
"propagate": False, "propagate": False,
"handlers": ["default", "logfile"], "handlers": ["default", "logfile"],
"level": "INFO", "level": "INFO",