[jboss-user] [Installation, Configuration & DEPLOYMENT] - RepositorySelector and hibernate log

boby do-not-reply at jboss.com
Fri Nov 21 05:02:46 EST 2008


Hello,

In order to get my own log4j.xml in my application, I use the .sar log4j.sar of https://jira.jboss.org/jira/browse/JBAS-1313. 
That works well, my log4j is loaded.

My problem is that the all hibernate's log uses the first log4j loaded by an application. In my case, either my own log4j.xml or the log4j of jboss. However, I renamed the log4j of jboss to jboss-log4.xml.

Thus, may we have the hibernate's log of an application, app1, in app1.log and the hibernate's log of an app2 in app2.log for example ? If we cant, so is it possible that hibernate uses the jboss-log4j.xml by default ?

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191167#4191167

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191167



More information about the jboss-user mailing list