AccessLogValve - Birt - 在tomcat中记录报告参数

时间:2015-01-13 14:00:31

标签: tomcat logging birt access-log

是否有任何可能使用tomcat accesslogvalve来记录作为参数发布到tomcat下的birt的内容。  使用标准模式不给我结果。我想要的预期结果是用什么用户发布作为此报告的参数

实际测试的accesslog阀配置:

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
               prefix="Mifos-Server-access_log." suffix=".txt" pattern="%{x-Forwarded-For}i %l %a %A %H %m %q %r %S %t %u %U %T   %{Cookie}i" resolveHosts="false"/>

结果:

10.10.10.5 10.10.10.10 HTTP/1.1 GET ?__report=/home/myapp/report/pay_rest.rptdesign&reportName=pay_dorig%20source&userId=123&__format=pdf GET /myapp/birtReports?__report=/home/myapp/report/pay_rest&reportName=pay_dorig%20source&userId=123&__format=pdf HTTP/1.1 43E36E8R248ECEFB4B5AX985975FNEU7 [13/Jan/2015:12:30:41 +0100] - /my_app/birtReports 2.224

感谢

0 个答案:

没有答案