Skip to content
Myr

Removed useless script reference. This fixes #87

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent dbb3620 · Browse files · 2 files+4 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−6 removed

  • other:+4 added−6 removed

2 files+4 added−6 removed

modified:docs/errorhandling.rst+4 added-4 removed
69 unmodified lines
70We also tell the handler to only send errors and more critical messages.71Because we certainly don't want to get a mail for warnings or other72useless logs that might happen during request handling.7374Before you run that in production, please also look at :ref:`log-format`75to put more information into that error mail. That will save you from a76lot of frustration.74Before you run that in production, please also look at :ref:`logformat` to75put more information into that error mail. That will save you from a lot76of frustration.777879Logging to a File80-----------------
28 unmodified lines
109 file_handler = TheHandlerYouWant(...)110 file_handler.setLevel(logging.WARNING)111 app.logger.addHandler(file_handler)112113.. _log-format:113.. _logformat:114115Controlling the Log Format116--------------------------117
120 unmodified lines
modified:examples/jqueryexample/templates/layout.html-2 removed