How to direct hibernate logger statements in different log files for differnet applications using jb

Posted by Milind on Stack Overflow See other posts from Stack Overflow or by Milind
Published on 2009-02-13T19:07:48Z Indexed on 2010/04/09 10:03 UTC
Read the original article Hit count: 507

Filed under:
|
|
|

Hi, I am using JBOSS 4.2.2 server to deploy multiple web applications. Each application uses Hibernate and for each application there are saperate log files and saparate appendar. Now for Hibernate logging statements of one application should go in log file of that particular application. Does anybody has idea how to configure log4j.xml file to achieve this?

Thanks and regards, Milind

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about logging