Discussion:
[jboss-user] [jBPM] - how to use the log service task in drools guvnor
casey perkins
2013-05-09 10:50:33 UTC
Permalink
casey perkins [https://community.jboss.org/people/casey_0708] created the discussion

"how to use the log service task in drools guvnor"

To view the discussion, visit: https://community.jboss.org/message/816965#816965

--------------------------------------------------------------
I want to know the information about my task in the process.so I want to use the log service task.
but I don't know how to use the log in web designer.
can anybody give me some suggestions?
please help me
thank you
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816965#816965]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-05-10 05:19:18 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: how to use the log service task in drools guvnor"

To view the discussion, visit: https://community.jboss.org/message/817098#817098

--------------------------------------------------------------
log service task is used in same way as any other task. The only thing required for it is to define data input for it that you want to trace (log). Please remember that you need to define work item handler for Log service task - usually it is SystemOutWorkItemHandler class but you can provide your own that will use some logging framework instead os sysout e.g. log4j

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817098#817098]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
casey perkins
2013-05-15 04:33:33 UTC
Permalink
casey perkins [https://community.jboss.org/people/casey_0708] created the discussion

"Re: how to use the log service task in drools guvnor"

To view the discussion, visit: https://community.jboss.org/message/817738#817738

--------------------------------------------------------------
thanks Maciej.
I have defined the work item handler,but I don't know how to use this service in detailes.and I also want to know where to find the log.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817738#817738]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...