[jboss-user] [Beginner's Corner] - Re: How to configure JBoss logs to view in Awstat

erasmo2 marciano2 do-not-reply at jboss.com
Thu Jul 4 10:16:20 EDT 2013


erasmo2 marciano2 [https://community.jboss.org/people/erasmomarciano] created the discussion

"Re: How to configure JBoss logs to view in Awstat"

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

--------------------------------------------------------------
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 http://awstats.sourceforge.net/docs/awstats_setup.html
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/826413#826413]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


More information about the jboss-user mailing list