GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add colour to `http.server` logs · Issue #146292 · python/cpython

Add colour to http.server logs #146292

New issue
Copy link
New issue
Copy link
Closed
Closed
Add colour to http.server logs#146292
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

Description

@hugovk
hugovk
opened on Mar 22, 2026
Issue body actions

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

  • gh-146292: Add colour to http.server logs #146293
Reacted by Stan Ulbrych and Brian Schubert
Reacted by Bartosz Sławecki

Activity

  1. hugovk
    added
    type-featureA feature request or enhancementA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Mar 22, 2026
  2. ambv
    added a commit that references this issue on Apr 8, 2026

    gh-146292: Add colour to `http.server` logs (GH-146293)

    2c8f26c
  3. hugovk
    closed this as completedon Apr 10, 2026
  4. ljfp
    added a commit that references this issue on Apr 25, 2026

    pythongh-146292: Add colour to `http.server` logs (pythonGH-146293)

    6d3ce86
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/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.