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.
-
Configure log4j in jboss (2 messages)
- Posted by: Jayarani S
- Posted on: May 26 2005 05:12 EDT
Threaded Messages (2)
- Configure log4j in jboss by Rafal Kedziorski on May 26 2005 19:04 EDT
- Configure log4j in jboss by Ken Loh on June 14 2005 12:45 EDT
-
Configure log4j in jboss[ Go to top ]
- Posted by: Rafal Kedziorski
- Posted on: May 26 2005 19:04 EDT
- in response to Jayarani S
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 -
Configure log4j in jboss[ Go to top ]
- Posted by: Ken Loh
- Posted on: June 14 2005 12:45 EDT
- in response to Rafal Kedziorski
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.