[hibernate-dev] Loggers

2018-09-14 Thread Steve Ebersole
Yes, I know no one likes talking about logging. "Its not important", until it is ;) TLDR I am considering moving to using "module names" for logger names instead of Class names even for DEBUG/TRACE logging and see if anyone had strong arguments to not do this.. Full version--- For some time I

Re: [hibernate-dev] Is there a way to have ServiceContributor per SessionFactory/EMF instead of per application classloader?

2018-09-14 Thread Steve Ebersole
Another thought. If you are specifically talking about JPA container integration we could always accept ServiceContributor(s) via the integration values Map. On Fri, Sep 14, 2018 at 10:14 PM Steve Ebersole wrote: > Doing so would require a programatic call while bootstrapping Hibernate. > The

Re: [hibernate-dev] Is there a way to have ServiceContributor per SessionFactory/EMF instead of per application classloader?

2018-09-14 Thread Steve Ebersole
Doing so would require a programatic call while bootstrapping Hibernate. The ServiceContributors are applied during `org.hibernate.boot.registry.StandardServiceRegistryBuilder#build` processing. So we'd need a call to register a ServiceContributor with the StandardServiceRegistryBuilder. Of