[jboss-user] [Beginner's Corner] - Access logging

Willem Noorduin do-not-reply at jboss.com
Fri Aug 10 03:50:30 EDT 2012

Willem Noorduin [https://community.jboss.org/people/willemnoorduin] created the discussion

"Access logging"

To view the discussion, visit: https://community.jboss.org/message/752960#752960

I have configured the following in the standalone.xml:

|      | <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"> |
|          | <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/> |
|          | <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/> |
|          | <virtual-server name="default-host" enable-welcome-root="true"> |
|              | <alias name="localhost"/> |
|              | <alias name="example.com"/> |
|              | <access-log extended="true"/> |
|          | </virtual-server> |
|      | </subsystem> |

After a restart, I have gained a ${jboss.log.dir}/default_host/access_log.2012-08-10 file with the begin:

[root at nlptc27b16 default-host]# cat access_log.2012-08-10 
#Fields: %h %l %u %t "%r" %s %b
#Version: 2.0
#Software: JBoss Web/7.0.16..Final-redhat-1

Only how hard I try, I don't get access lines in this file when I access an application. Any thoughts

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120810/f17e9533/attachment.html 

More information about the jboss-user mailing list