Tuesday, April 27, 2010

I want "DEBUG = False" but still get the DEBUG data logged

Have cake and eat it it, too?


I have a website which will be more or less a production site soon - but
I'd like to still get all debugging information.


Leaving "DEBUG = True" is not an option, as it will potentially print
sensitive information in user's browser.

Setting "DEBUG = False" will disable debugging completely.


Is it possible to disable printing out debug information in user's
browser, but still have this debug info somewhere (i.e. to a log file only)?

--
Tomasz Chmielewski
http://wpkg.org

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate