VelogaWhite commited on
Commit
8780665
·
1 Parent(s): 69c60b3

Add logging config to settings.py

Browse files
Files changed (1) hide show
  1. src/superlists/settings.py +12 -1
src/superlists/settings.py CHANGED
@@ -159,4 +159,15 @@ SESSION_COOKIE_SAMESITE = 'None'
159
  CSRF_TRUSTED_ORIGINS = [
160
  'https://sdp2-2025-group1-django-tdd-app.hf.space',
161
  'https://huggingface.co'
162
- ]
 
 
 
 
 
 
 
 
 
 
 
 
159
  CSRF_TRUSTED_ORIGINS = [
160
  'https://sdp2-2025-group1-django-tdd-app.hf.space',
161
  'https://huggingface.co'
162
+ ]
163
+
164
+ LOGGING = {
165
+ "version": 1,
166
+ "disable_existing_loggers": False,
167
+ "handlers": {
168
+ "console": {"class": "logging.StreamHandler"},
169
+ },
170
+ "loggers": {
171
+ "root": {"handlers": ["console"], "level": "INFO"},
172
+ },
173
+ }