Side note: producing a logger is a wrong idea (see codi list to learn why) so maybe just get rid of it Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014/1/12 Jean-Louis MONTEIRO <[email protected]>: > There are plenty of producer example over the internet. Even in the spec > itself producing a logger is shown. There are usually also a couple of > samples with producing entity managers. > > Yes let us know please. > Le 12 janv. 2014 17:16, "Caterpillar" <[email protected]> a écrit : > >> Il 12/01/2014 16:32, Jean-Louis MONTEIRO ha scritto: >> > Ok so the good news is that your bean is found and being managed by cdi. >> > >> > But your are trying to inject a logger which isn't managed by cdi. >> > >> > Try adding a producer, common way to do. >> Ok. Not having experience with producer, I opened a S.O. question about >> how to use it in that bean. >> >> http://stackoverflow.com/questions/21076836/logger-convert-from-inject-to-producer >> As soon I receive an answer I will do a test and I will let you know. >> >> Thank you very much. >>
