Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make OpenEJB to use slf4j?

Can anyone give an example of pom.xml dependencies configuration that will make OpenEJB to use slf4j logging, instead of JCL (this is what it uses now, as I understand).

see also How to configure OpenEJB logging?

like image 457
yegor256 Avatar asked Dec 18 '25 01:12

yegor256


1 Answers

We have support for:

  • Log4j
  • java.uti.logging

New implementations of LogStreamFactory can be plugged in by setting the class name as the value of openejb.log.factory system property.

Feel free to copy one of the existing impls and update for either JCL or SLF4J. The project is always accepting new committers if you get the urge to hack on other things as well!

like image 185
David Blevins Avatar answered Dec 19 '25 19:12

David Blevins



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!