JBoss Community

Access logging

created by Willem Noorduin in Beginner's Corner - View the full discussion

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@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