Here's a simple drop-in colorizer for Werkzeug (and thus also Flask) logs. It won't make much sense in production, but makes development a bit more cheerful.

Adding gouge.colourcli to the mix, makes it even more colourful:

To use it, simply put it in a utility module somewhere, import it and call colorize_wekzeug .

You will need blessings . If that's not available, the function will not do any colorizing.

The code is hosted as a gist on GitHub: