Discussion:
[jboss-user] [Beginner's Corner] - How to configure JBoss logs to view in Awstat
Arfat Shaikh
2013-07-04 14:08:27 UTC
Permalink
Arfat Shaikh [https://community.jboss.org/people/s_arfat] created the discussion

"How to configure JBoss logs to view in Awstat"

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

--------------------------------------------------------------
Hello All,

How to customize JBoss logs config file, So that i can configure and view in awstat.
--------------------------------------------------------------

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

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
erasmo2 marciano2
2013-07-04 14:16:20 UTC
Permalink
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]
Arfat Shaikh
2013-07-04 15:37:45 UTC
Permalink
Arfat Shaikh [https://community.jboss.org/people/s_arfat] created the discussion

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

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

--------------------------------------------------------------
Hello,

Thanks erasmo2 for your prompt reply. In which file this setting has to be done, I am using JBoss 5.1.
--------------------------------------------------------------

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

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Anders Welen
2013-07-05 07:56:38 UTC
Permalink
This post might be inappropriate. Click to display it.
Arfat Shaikh
2013-07-10 11:23:20 UTC
Permalink
Arfat Shaikh [https://community.jboss.org/people/s_arfat] created the discussion

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

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

--------------------------------------------------------------
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..:)
--------------------------------------------------------------

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

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