After trials and errors found how to log what i wanted. The following needs to be
specified in the server.xml:
| <Valve className="org.apache.catalina.valves.AccessLogValve"
| prefix="access_log." suffix=".log"
| pattern="%{X-Forwarded-For}i %h %l %u %t \"%r\" %>s
%b \"%{Referer}i\" \"%{User-Agent}i\""
| directory="$JBOSS_LOGS"
| resolveHosts="false" />
|
Note that instead of " i have to use "
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171153#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...