14 Replies Latest reply on Aug 21, 2010 3:27 AM by 843810

    After Making Changes In Log4j.xml Application Needs Recompilation?


      I am using log4j in my jsp pages and for that I instantiating Logger class like this
      Logger logger = Logger.getLogger("test.jsp");
      And I have log4j.xml in the classpath.
      I believe, priority levels can be changed and log level can be changed without re-compiling.
      Change the log4j.xml and re-run jsp pages. 
      However I need to re-compile after making changes in log4j.xml file. Without re-compilation changes are not getting reflected.
      Why I need to re-compile application in order to see the changes I have made in log4j.xml?
      Appreciate any help in this regard.