Thursday, 6 March 2008

Jboss http access log

I never remember where it is, so I'm blogging about it so that I can find it easily...

If you want to turn on the access log in jboss 4 so you can see the http requests (404's, etc) in order to find broken links, just do the following:

Edit the server.xml file. For the default server in the default location, it is ${jboss.server.home.dir}/jboss-web.deployer/server.xml. Uncomment the "Access logger" section. The log file will show up in ${jboss.server.home.dir}/log/localhost_access_log.{todays_date}.log


No comments:

Post a Comment