1 Reply Latest reply on Oct 15, 2008 6:54 AM by jaikiran pai

    Jboss N logging

    sun kum Newbie

      I am new to jboss: pls ans my below quires :

      1. application log: I want to log application error,warning etc to log some where so that developer can access to resolve any logic/coding issues in application , I checked default logging in /logs/server.log but thr is nothing useful.

      2.I want to log all http request to jboss in a different file, how do I do that ?

      Pls. guide me on above running jboss 4.2.2.

        • 1. Re: Jboss N logging
          jaikiran pai Master

           

          "sunlinux" wrote:
          I am new to jboss: pls ans my below quires :

          1. application log: I want to log application error,warning etc to log some where so that developer can access to resolve any logic/coding issues in application , I checked default logging in /logs/server.log but thr is nothing useful.

          You will have to configure the logging through the jboss-log4.xml file which is under %JBOSS_HOME%\server\< serverName>\conf folder.


          "sunlinux" wrote:

          2.I want to log all http request to jboss in a different file, how do I do that ?



          Uncomment the following part from the %JBOSS_HOME%\server\< serverName>\deploy\jboss-web.deployer\server.xml file:

          <!-- Access logger -->
           <!--
           <Valve className="org.apache.catalina.valves.AccessLogValve"
           prefix="localhost_access_log." suffix=".log"
           pattern="common" directory="${jboss.server.log.dir}"
           resolveHosts="false" />
           -->