Monday, September 9, 2013

how to turn off logging debug to be printed in apache's error log when django's DEBUG=False

I have set a debug logger to print debug infos to console.
This works fine in development environment. 

But in production, debug info redirect to apache error log file, i guess this is one behaviour related to mod_wsgi.
People say there's a setting control in django 1.5 version, but how can i turn this debug info to error log behaviour off
in django 1.4.6 version.

Thanks you guys for helping.

--
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate