14 Replies Latest reply: Aug 20, 2010 10:27 PM by 843810 RSS

    After Making Changes In Log4j.xml Application Needs Recompilation?

    843810
      Hello,

      I am using log4j in my jsp pages and for that I instantiating Logger class like this
      Logger logger = Logger.getLogger("test.jsp");
      {code} 
      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.
      
      Regards