7 Replies Latest reply on Nov 25, 2008 2:28 PM by Joan Bordeau

    RepositorySelector and hibernate log

    Joan Bordeau Newbie

      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.