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
|