0 Replies Latest reply on Oct 23, 2008 3:02 PM by Manoranjan Das

    problem with log4j in SAR file

    Manoranjan Das Newbie

      Urgent
      ---------
      Hi All,

      I have a SAR file in which I want to use log4j.xml for logging messages.I am using Jboss 4.2.I tried every thing.But nothing worked.

      I configured log4j.xml in my SAR file.But messages are logge into jboss server.log instead in the specified path in log4j.xml.

      So can any one clear my doubt.

      1.Is is possible to configure a log4j.xml for a SAR file so that messages will be logged in desired file instead of jboss server.log.If yes then tell me how to configure it and where.

      2.I have other war file which is running on same jboss where I have confgure log4j.xml it is working fine.