0 Replies Latest reply on Jun 22, 2005 6:28 AM by Jörg Hutschenreiter


    Jörg Hutschenreiter Newbie

      Hi, as a JBoss beginner I downloaded and installed JBoss 4.0.2, fixed some problems in startup scripts, started JBoss successfully. After this I deployed a servlet which was running under Tomcat until now making a ear file from my war file, deployed it using the JBoss plugin of Eclipse (no password needed), and after removing log4j-1.2.8.jar from my servlet
      deploying was successful. The servlet runs. Fine.
      The servlet controls the logging properties programmatically in order to change this properties at run time. It ist setting
      log4j.rootLogger: OFF, STDOUT
      (don't ask why, that's not the question).
      The effect is that the console logging of JBoss is switched off. If the property is set to "DEBUG, LOGFILE" all the JBoss logs are logged in the servlet's own logfile defined by a log4j.appender.LOGFILE.file property.
      This was a big surprise that some application under JBoss has influence on the behavior of the application server itself.
      What I have to study to understand (and change) this?