[jboss-user] [Installation, Configuration & DEPLOYMENT] - Log4j
div_gcet1
do-not-reply at jboss.com
Tue Feb 3 05:39:55 EST 2009
Hi
I m working on JBoss 4.2.2. And i have made a custom log4j.xml file.
I want to deploy it with my application.The problemis my application have
only have one jar file containg all class files and ejb file and there is no classes folder.So where should i put my costom log4j fille is deployed with my application. I am giving the code for its configuration.
| public class LoginCheck {
|
|
| static {
| ClassLoader classLoader = Thread.currentThread( ).getContextClassLoader( );
| URL url =classLoader.getResource("djboss-log4j.xml");
|
| DOMConfigurator.configure(url);
| }
|
|
I will be very helpful for me.
Thanks And Regards
Divya Garg
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206480#4206480
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206480
More information about the jboss-user
mailing list