This suggestion comes from Richard:
In uimaFIT-based components, always get the logger through getLogger() - do not store
the logger in a class variable:
getLogger().warn(...)
getLogger().info(...)
Do NOT use any logging framework directly, e.g. Log4J:
private final static Logger logger = Logger.getLogger(SemCorXMLReader.class
.getName());
Do not get the logger from the UIMA context and do not store it in a class variable.
If you need to use a logging framework outside an UIMA component, use the Apache Commons
Logging API because it can be easily redirected to any other logging backend.
Reported by tristan.miller@nothingisreal.com on 2015-01-09 13:56:09
Originally reported on Google Code with ID 70
Reported by
tristan.miller@nothingisreal.com
on 2015-01-09 13:56:09