0 Replies Latest reply on Nov 18, 2008 6:49 AM by Jose Aragon

    Log4j in JBoss WEB server

    Jose Aragon Newbie

      I am trying to configure JBoss WEB server 2.1.1 GA to use log4j as the logging framework. What I want is to use log4j to write the internal messages generated by the server to a file and use a log4j.properties file to configure these.

      In the JBoss Web server documentation it does mention that it is possible to use log4j (http://www.jboss.org/file-access/default/members/jbossweb/freezone/docs/2.1.1/logging.html), but it doesn't say how to do it (it only mentions the java.util.logging configuration).

      To get around this, I have applied the instructions that are given for Apache Tomcat 6.0 at http://tomcat.apache.org/tomcat-6.0-doc/logging.html to the JBoss Web Server source, but it still does not work.

      Has anyone managed to get this to work?
      Is this a limitation of JBoss Web Server compared to Apache Tomcat?

      Thanks!