mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 08:34:26 -04:00
fix statemachine create_root_snapshot and retry timing
This commit is contained in:
parent
67c22b2df0
commit
1ec2753664
8 changed files with 48 additions and 40 deletions
|
@ -65,10 +65,14 @@ else:
|
|||
# print(f'[!] WARNING: data/logs dir does not exist. Logging to temp file: {ERROR_LOG}')
|
||||
pass
|
||||
|
||||
|
||||
LOG_LEVEL_DATABASE = 'WARNING' # if DEBUG else 'WARNING'
|
||||
LOG_LEVEL_DATABASE = 'WARNING'
|
||||
LOG_LEVEL_REQUEST = 'WARNING' # if DEBUG else 'WARNING'
|
||||
|
||||
# UNCOMMENT TO LOG ALL SQL QUERIES:
|
||||
# LOG_LEVEL_DATABASE = 'DEBUG'
|
||||
# db_logger = logging.getLogger('django.db.backends')
|
||||
# db_logger.setLevel(logging.DEBUG)
|
||||
# db_logger.addHandler(logging.StreamHandler())
|
||||
|
||||
|
||||
SETTINGS_LOGGING = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue