Add bookwyrm-specific logging

This commit is contained in:
Joel Bradshaw
2022-01-10 06:45:14 +00:00
committed by Joel Bradshaw
parent af3c84cd87
commit 83851c2933
2 changed files with 14 additions and 5 deletions

View File

@ -124,6 +124,10 @@ LOGGING = {
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
'propagate': False,
},
'bookwyrm': {
'handlers': ['console'],
'level': os.getenv('LOG_LEVEL', 'DEBUG' if DEBUG else 'INFO').upper(),
}
},
}