3 Replies Latest reply on Nov 25, 2007 2:38 PM by Nilesh Thali

    logging issues

    Nilesh Thali Newbie

      Folks,
      My webapp uses a "third-party" vendor's API, and this vendor has his logging set up a particular way with his own logger classes. When i run a standalone sample program using that API, i see all the logs.
      When i run it inside my JBoss webapp, i don't see any of those logs. they are not in server.log or on the console.
      I tried putting the contents of their log4j.xml into JBoss's log4j.xml, and their jar into the lib/endorsed directory, and that started a tailspin of NoClassDefFoundErrors meaning i had to put more and more jars in there
      so i quit that approach.
      Any idea how to get those logs to show up?
      Thanks,
      Nilesh

        • 1. Re: logging issues
          jaikiran pai Master

           

          "jo_atman" wrote:

          I tried putting the contents of their log4j.xml into JBoss's log4j.xml, and their jar into the lib/endorsed directory, and that started a tailspin of NoClassDefFoundErrors meaning i had to put more and more jars in there
          so i quit that approach.


          If the 3rd party is using log4j then you can edit JBoss's log4j.xml to add the contents in there. Which jars did you add/replace in the lib/endorsed folder? Ideally, you dont have to add/replace anything in that folder.



          • 2. Re: logging issues
            Nilesh Thali Newbie

            Hello,
            I tried adding the appenders and categories into JBoss' log4j.xml, and it still didn't help. I did away with adding jars in the endorsed dir option.

            • 3. Re: logging issues
              Nilesh Thali Newbie

              Quick update: downloaded and installed 4.2.2 GA and don't have this issue any more.