Friday, February 1, 2019

Local variable dump on exception in production environment (DEBUG=False)

Hi,

In our production environment, we receive mail whenever an exception happens in our django application. But it contains only the function traces. The log will be helpful it also contains data dump or the local variable dump for each function trace. 
The exception trace on the browser in our development environment (DEBUG=True) contains the local variable dump. 

Hence, could anyone let me know if it's possible to get the local variable dump during exceptions in our django application? 

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5b32c8ae-eb93-425d-88dc-d2c2a775a487%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment