0 Replies Latest reply on Jun 20, 2013 9:34 AM by jfalek

    Capturing AJP connections in access-log

    jfalek

      We are using JBoss AS 7.1.1 and need to capture AJP access as well as HTTP access in the access-log file. I updated standalone.xml as follows but don't see any AJP connections in the access-log file (I do see the HTTP connections).   Your recommendations would be helpful.

       

       

              <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="false">
                      <alias name="localhost"/>
                      <alias name="example.com"/>
                       <access-log pattern="%a %t %H %p %U %s %D %T" rotate="true">
                          <directory path="."/>
                      </access-log>
                  </virtual-server>
              </subsystem>