Skip to content

Commit

Permalink
update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
c-e-p committed May 26, 2023
1 parent 4bc5b20 commit e961a44
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ourchive_app/ourchive_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,22 @@
'DEFAULT_PAGINATION_CLASS': 'api.custom_pagination.CustomPagination',
'PAGE_SIZE': 10
}

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': 'debug.log',
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'DEBUG',
'propagate': True,
},
},
}

0 comments on commit e961a44

Please sign in to comment.