Skip to content

Commit b79ae88

Browse files
committed
Logger no longer complains
1 parent c1b1292 commit b79ae88

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

testsettings.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,24 @@
1919
)
2020

2121
SECRET_KEY = 'abcde12345'
22+
23+
LOGGING = {
24+
'version': 1,
25+
'disable_existing_loggers': True,
26+
'handlers': {
27+
'console': {
28+
'level': 'DEBUG',
29+
'class': 'logging.StreamHandler',
30+
},
31+
},
32+
'root': {
33+
'handlers': ['console'],
34+
'level': 'INFO',
35+
},
36+
'loggers': {
37+
'django_dbq': {
38+
'level': 'CRITICAL',
39+
'propagate': True,
40+
},
41+
}
42+
}

0 commit comments

Comments
 (0)