Feature #38
closedConfiguration for custom log format for HTTP log
Description
It would be nice to be able to configure the HTTP logs layout. Currently it's modeled after apache's default log format.
This will likely be a task at some point.
Files
Updated by Victor Julien over 14 years ago
- Target version changed from 1.0.0 to TBD
Updated by Victor Julien almost 14 years ago
- Assignee changed from Victor Julien to Anonymous
- Target version deleted (
TBD)
Updated by delta yeh over 13 years ago
Any proposal for this task?
I would like to take it if the proposal is available.
Updated by Victor Julien over 13 years ago
- File log-httplog.c.patch log-httplog.c.patch added
The attached patch is from Chris Wakelin to allow logging of the referrer and protocol. I was planning to add that and make logging of both optional. Maybe thats a good start?
Other than that, there is no proposal.
Updated by Chris Wakelin over 13 years ago
- File log-httplog.c.patch log-httplog.c.patch added
Here's an updated patch that adds status code and response size, if available from the response headers and redirection URL if specified (in addition to referer, method and protocol in the above patch).
I had a look at making it optional, but decided the threading would mean changing too much and I'd better leave it to the experts!
Updated by Victor Julien about 13 years ago
- Status changed from New to Assigned
- Assignee changed from Anonymous to Eric Leblond
- Priority changed from Low to Normal
- Target version set to 1.1rc1
- % Done changed from 0 to 30
- Estimated time set to 4.00 h
Updated by Eric Leblond about 13 years ago
- % Done changed from 30 to 90
Pull request sent to Victor. Chris patch is the starting point.
Updated by Victor Julien about 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 90 to 100
Patches applied, thanks Eric and also thanks to Chris for getting this moving.
The http-log section has a new option "extended: yes" to activate the extended output. Default is to log without the extended fields.