Configure log4j in jboss

Discussions

Performance and scalability: Configure log4j in jboss

  1. Configure log4j in jboss (2 messages)

    Hi,

    I need to use log4j for logging of statements in my code. I am using jboss3.2.3 and log4j1.2.9.

    When I use log4j.xml and configure the logger works fine.

    But when I try to use log4j.properties, it is not working.

    Can anyone tell me how to configure and use log4j.properties for jboss3.2.3.

    Thanks.

    Threaded Messages (2)

  2. Configure log4j in jboss[ Go to top ]

    Hi,I need to use log4j for logging of statements in my code. I am using jboss3.2.3 and log4j1.2.9. When I use log4j.xml and configure the logger works fine. But when I try to use log4j.properties, it is not working.Can anyone tell me how to configure and use log4j.properties for jboss3.2.3.Thanks.

    Put your configuration into jboss/server/<i.e. default>/conf/log4j.xml

    That's all.

    regards
    /rk
  3. Configure log4j in jboss[ Go to top ]

    But your answer does not address his question. In fact, it only states what he has already mentioned in his original post. He said that his logger works when the configuration is put in log4j.xml, but not in log4j.properties. He was seeking help of how to get it work for log4j.properties.