Log, Logger, LoggerFactory, LogFactory: package org.ow2.jonas.ws.cxf.BusCreator-- which log or logger package are we using.
Ryan Zoerner <[email protected]> Fri, 24 Jun 2011 16:40:21 -0500
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <[email protected]> |
In org.ow2.jonas.ws.cxf.BusCreator, there is a Log referenced here: import org.ow2.jonas.lib.util.Log; When you follow this, you find the objectweb monolog package referenced. There they have a LoggerFactory. In the BusCreator file, there is a LogFactory mentioned. In org.ow2.util.log.* there is a LogFactory that implements serializable, but I see that the Log referenced in the ...lib.util... mentioned above, does not implement serializable and distinctly references a LoggerFactory in monolog, and also has a getLoggerFactory method. So, is LogFactory.getLog(BusCreator.class); a typo? Should there be Logger in place of Log? ..or is there some other LogFactory not referenced there, that I need to know about. Thank you. Ryan Zoerner