orf / django-debug-toolbar-template-timings

A django-debug-toolbar panel that displays template rendering times for your Django application
https://pypi.python.org/pypi/django-debug-toolbar-template-timings
MIT License
297 stars 28 forks source link

Timings verbosity is 'high' by default. #8

Closed kezabelle closed 11 years ago

kezabelle commented 11 years ago

The PRINT_TIMINGS setting in TEMPLATE_TIMINGS_SETTINGS defaults to True, which means that every request has lots of stuff printed to stdout, when mostly it shouldn't be, because it's stored into the panel.

I'd expect to have to opt-in to that functionality, and really, it'd be nicer if it used logger.debug/info() so that I can opt-in at the LOGGING configuration dictionary level, if I so choose - it'd also allow one to show the output in a way which it fits with whatever other logging formats are in use.

orf commented 11 years ago

I've set it to False for now, in the future I will make it log using logger rather than print