-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: custom log4j logger/appender for hibernate
PostPosted: Tue Oct 11, 2005 7:36 pm 
Newbie

Joined: Thu Jun 24, 2004 4:14 pm
Posts: 2
Hi There,

In our application we are running different processes concurrently. We have been able to figure out a way to use different logger (and hence appender) for different processes. For example, for process p1 we would use logger with logger name of "p1", using a file appender to file "p1.txt", etc.

Now, for hibernate related logging output, this would mean to supply our custom logger ("p1" using above example) to hibernate logging. I am not sure if there is a way to tell hibernate to use our own supplied logger (or appender) to log out any message. I am not seeing any api to manipulate the behavior of Hibernate logging (other than the ability to tell hibernate what configuration to use but In our case, the pre-configured setup for logging is not sufficient).

Any suggestions are very much appreciated.

Thanks,

Mike


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.