2👍
✅
Setting up Django logging in a correct way is indeed an useful advice.
You can also configure Django to email site administrators when a server error occurs. In this way you can be notified in real-time when a server error occurs. In the email Django will put some useful information for debugging (very similar to those shown if DEBUG=True).
For details see the official documentation on the topic.
1👍
set up django logger:
https://docs.djangoproject.com/en/1.7/topics/logging/
it is an "industry standard" for these things, and it gives you a pretty wide set of options for logging, from severity level, to distribution method
👤dgmt
- [Django]-Why `init` of shim in my require.js configuration not called?
- [Django]-Django CreateView and validation
- [Django]-Django return json and html depending on client python
- [Django]-Formating Django Datetime objects outside template
Source:stackexchange.com