[jboss-user] [Beginners Corner] - Re: Access log for Jboss AS
jaikiran
do-not-reply at jboss.com
Thu Sep 28 05:09:28 EDT 2006
I guess what jbchurn is looking for is the "localhost_accessxxx.log" files that get created in the %JBOSS_HOME%/server/default/log directory.
The contents will be similar to:
127.0.0.1 - admin [12/Apr/2006:18:04:37 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:04:37 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:05:07 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:05:07 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:05:37 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:05:37 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:06:08 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:06:08 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:06:38 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:06:38 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:07:08 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:07:08 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:07:38 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:07:38 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:08:08 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:08:08 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:08:38 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:08:38 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:09:08 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:09:08 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - admin [12/Apr/2006:18:09:39 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 200 442
| 127.0.0.1 - - [12/Apr/2006:18:09:39 +0530] "GET /myApp/myApp/script/resource_en.js HTTP/1.1" 304 -
| 127.0.0.1 - - [12/Apr/2006:18:10:09 +0530] "GET /myApp/myApp/jsp/framework/notificationCounter.jsp?message=Notifications HTTP/1.1" 500 848
The file name for these log files is mentioned in the jboss-service.xml present in %JBOSS_HOME%/server/default/deploy/jbossweb-tomcatxxx.sar/META-INF folder:
<Valve className="org.apache.catalina.valves.AccessLogValve"
| prefix="localhost_access" suffix=".log"
| pattern="common" directory="${jboss.server.home.dir}/log"/>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974798#3974798
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974798
More information about the jboss-user
mailing list