users@glassfish.java.net

Access Log in NCSA Format

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Feb 2010 06:59:31 PST

Is there anyway that I can have access log in the NCSA format.
I need this kind of formatting for web analytics. Right now I have change format to "combined" it comes close to that format but it is not logging the Cookie information or session information.

I want something in the below format:

127.0.0.1 localhost - [23/Feb/2010:13:52:05 -0600] "GET /wings/images/
__utm.gif?
utmwv=1&utmn=2069462384&utmcs=ISO-8859-1&utmsr=1280x1024&utmsc=24-
bit&utmul=en-us&utmje=0&utmfl=10.0%20r42&utmdt=WINGS%20Reporting
%20System&utmhn=localhost&utmr=0&utmp=/wings/spring/general/staff/
staff-home?execution=e2s1 HTTP/1.1" 200 35 "http://localhost:8080/
staff/staff-home?execution=e2s1" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/
3.6 (.NET CLR 3.5.30729)"
"JSESSIONID=A03E7AB9390D5DC11673B2A04F504DC9;
__utma=1.73648498.1266954723.1266954723.1266954723.1; __utmb=1;
__utmc=1; __utmz=1.1266954723.1.1.utmccn=(direct)|utmcsr=(direct)|
utmcmd=(none)"
[Message sent by forum member 'ryanrakesh' (ryanrakesh_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=388444