Skip to content

Commit 7646187

Browse files
committedMar 12, 2012
Handle default logging inside of our application.
1 parent 8c3187d commit 7646187

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed
 

‎readthedocs/settings/base.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,18 +198,12 @@
198198
'level': 'ERROR',
199199
'propagate': False,
200200
},
201-
'core': {
201+
#Default handler for everything that we're doing. Hopefully this doesn't double-print
202+
#the Django things as well. Not 100% sure how logging works :)
203+
'': {
202204
'handlers': ['console', 'logfile'],
203205
'level': 'DEBUG',
204206
},
205-
'api': {
206-
'handlers': ['console', 'logfile'],
207-
'level': 'DEBUG',
208-
},
209-
'projects': {
210-
'handlers': ['console', 'logfile'],
211-
'level': 'DEBUG',
212-
},
213207
}
214208
}
215209

0 commit comments

Comments
 (0)
Please sign in to comment.