Here is a pretty neat way. http://anyweight.blogspot.com/2009/07/injecting-log4j-loggers-via-guice.html
Peter On Thu, Feb 18, 2010 at 2:01 PM, morisil <[email protected]> wrote: > Thanks to internal binding Guice injects java.util.logging.Logger > instances having the name of the target class. Is it possible to > configure something similar for log4j loggers? > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
