Integration is largely transparent. You import the logging framework
into the
PipelineComponentRuntime
and call
getLogger()
. If any logging requests come in from any
of the frameworks, the Content Acquisition System detects the requests and
redirects them to Log4J which CAS then uses to write to
cas-service.log
.
For example, if you are using SLF4J, integration is similar to the following:
import org.slf4j.LoggerFactory ... LoggerFactory.getLogger(getClass()).info("A logging message.");