I solved this by adding my own ProcessLog subclass:
| package com.olf.bpm.identity;
|
| import org.jbpm.logging.log.*;
|
| public class IdentityLog extends CompositeLog {
|
| private static final long serialVersionUID = 1L;
|
| protected String actorId = null;
|
"Hannes" wrote : I have changed the 'ProcessLog.java' and 'ProcessLog.hbm.xml'
by adding a property named 'actorId' which is set in the constructor: 'actorId
= Authentication.getAuthenticatedActorId();'
|
| hbm:
|
| This was made with 3.0, but maybe it works for 3.1 too.
Thank you
I have changed the 'ProcessLog.java' and 'ProcessLog.hbm.xml' by adding a
property named 'actorId' which is set in the constructor: 'actorId =
Authentication.getAuthenticatedActorId();'
hbm:
This was made with 3.0, but maybe it works for 3.1 too.
View the original post :
http://www.jboss.
I've looked through the documentation & googled around a bit and I haven't
found what "the" way is to enable logging to JBPM_LOG. I have
in my jbpm.cfg.xml, but that itself doesn't seem to do the trick. What I
currently have is this
| processInstance.getInstance(LoggingInstance.c
JBPM_LOG is indeed the way to construct the audit trail.
Regards,
Koen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956925#3956925
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956925
__