Michael Baessler (JIRA) wrote:
[ https://issues.apache.org/jira/browse/UIMA-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470884 ]
Michael Baessler commented on UIMA-282:
---------------------------------------
Some comments about this issue.
UIMA internally don't use java.util.logging. UIMA has defined it's own logging
architecture that fits most of the available Java logging architectures. So
internally we use our own classes which can be wrapped to the Java logging
system of your choice. The default wrapper we currently use is a wrapper for
JSR47, but this can easily be changed to e.g. Log4J. You just have to provide
the wrapper implementation and change the configuration settings that specifies
which wrapper should be used.
The UIMA logging interface that is used internally is: org.apache.uima.util.Logger
The JSR47 wrapper implementation is: org.apache.uima.util.impl.JSR47Logger_impl
The configuration which log wrapper should be used is available in:
org.apache.uima.impl.factoryConfig.xml
There is a configuration setting like: <logger
class="org.apache.uima.util.impl.JSR47Logger_impl"/> that must be changed to the
new Log4J logger implementation.
So you see, it is not much effort to provide a log wrapper for Log4J. Maybe we
can work together and provide such a logger implementation that implements the
UIMA logging interface and uses Log4J as logging system, similar to the
JSR47Logger_impl.
What do you think?
+1. Greg - I would encourage you to write such a wrapper and contribute
it. :-)
-Marshall