Thanks,
Kumar
Thanks Philipp for providing this information.
Could you please provide me an example to create log entry using history service?
Thanks
Kumar
// extend the default history event handler to create log entries additionally
public class CustomHistoryEventHandler extends DbHistoryEventHandler implements HistoryEventHandler {
// protected final static Logger LOGGER = ...
@Override public void handleEvent(HistoryEvent historyEvent) { // create db entry super.handleEvent(historyEvent);
// create log entry
LOGGER.log(historyEvent);
}}<bean id="processEngineConfiguration" class="org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration"> <!-- ... -->
<property name="history" value="audit" /> <property name="historyEventHandler" ref="customHistoryEventHandler" /></bean>