Skip to content

net/http: logging support #3344

Closed
Closed
@wvh

Description

@wvh
This is a feature request.

I'm trying to implement Apache-style logging in my program, using camlistore's
logging.go as an example:

http://camlistore.org/code/?p=camlistore.git;a=blob;f=website/logging.go;hb=HEAD

While the code looks good, it hooks quite deeply into the http package's internals and
requires too much knowledge to be called trivial. Perhaps an easier logging hook should
be provided inside net/http/server.go in the Go standard library itself.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions