JBoss Community

Re: How to configure JBoss logs to view in Awstat

created by erasmo2 marciano2 in Beginner's Corner - View the full discussion

Hi

you should make an access log with jboss

Example

 

<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"/>
            <virtual-server name="default-host" enable-welcome-root="true">
                <alias name="localhost"/>
                <alias name="example.com"/>
                    <access-log pattern="%a %t %H %p %U %s " >
                                <directory relative-to="jboss.server.log.dir" />
                  </access-log>
            </virtual-server>
        </subsystem>

 

You have make a pattern compatible with awstat

Check this url

http://awstats.sourceforge.net/docs/awstats_setup.html


Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community