Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 404328

Summary: Virtual host is not included in extended NCSA request log format
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: serverAssignee: Project Inbox <jetty-inbox>
Status: CLOSED MOVED QA Contact:
Severity: minor    
Priority: P3 CC: jesse.mcconnell, jetty-inbox
Version: 9.0.0Keywords: helpwanted
Target Milestone: 9.3.x   
Hardware: All   
OS: All   
Whiteboard:

Description Greg Wilkins CLA 2013-03-26 02:01:20 EDT
It would be good if the request getHost could be logged in the NCSA request log format without breaking its compatibility with common tools.
Comment 1 Joakim Erdfelt CLA 2013-05-21 20:17:04 EDT
We would probably have to support the Extended Log File Format spec a bit better then.

http://www.w3.org/TR/WD-logfile

Such as producing the directives lines at the top of every log file we produce indicating which fields we are emitting.

I think this new field would be "cs-dns".
Comment 2 Joakim Erdfelt CLA 2014-09-22 18:12:57 EDT
Reassigning to default, flagging as helpwanted (our equiv of "low hanging fruit")
Comment 3 Greg Wilkins CLA 2015-04-22 20:31:41 EDT
hmmm   serverName is already an option
Comment 4 Jesse McConnell CLA 2016-02-16 19:40:59 EST
https://github.com/eclipse/jetty.project/issues/113