Skip to content

Add colour to http.server logs #146292

Description

@hugovk

Feature or enhancement

Proposal:

Taking inspiration from the make dev logs for the new blog (https://github.com/python/python-insider-blog):

Image

Let's add colour to the http.server log output:

Image

As usual, this will respect the environment variables to control colour and the output stream's capabilities.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions