-
1. Re: How to configure JBoss logs to view in Awstat
erasmomarciano Jul 4, 2013 10:36 AM (in response to s_arfat)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>Or you can generete access log so
http://middlewaremagic.com/jboss/?p=500
You have make a pattern compatible with awstat
Check this url
http://awstats.sourceforge.net/docs/awstats_setup.html
-
2. Re: How to configure JBoss logs to view in Awstat
s_arfat Jul 4, 2013 11:37 AM (in response to erasmomarciano)Hello,
Thanks erasmo2 for your prompt reply. In which file this setting has to be done, I am using JBoss 5.1.
-
3. Re: How to configure JBoss logs to view in Awstat
welle Jul 5, 2013 3:56 AM (in response to s_arfat)Look for "Access logger" in "$JBOSS_HOME/server/XXX/deploy/jbossweb.sar/server.xml"
-
4. Re: How to configure JBoss logs to view in Awstat
s_arfat Jul 10, 2013 7:23 AM (in response to welle)Hello Anders.
Thanks for your reply. I had successfully configured the same and now i am able to monitor the JBoss Access Logs from Awstat.
Thanks a lot..:)