Implementation
The framework allows multiple implementations of this service to be registered; all will be called.
This is an SPI, but the framework provides a simple implementation, o.a.c.applib.services.publishing.log.ExecutionLogger, that just logs events as they are received.
It can be configured using:
log4j2-spring.xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Properties> ... </Properties>
<Appenders> ... </Appenders>
<Loggers>
...
<logger
name="org.apache.causeway.applib.services.publishing.log.ExecutionLogger"
level="debug"/>
...
</Loggers>
</Configuration>
See the log4j2-spring.xml file in simpleapp for the omitted detail.