cancel
Showing results for 
Search instead for 
Did you mean: 

writing to the console i.e what task in the process i'm at

arschloch1989
Champ in-the-making
Champ in-the-making
Hi,

how do you go about writing to the console??

I would like to log what stage I'm in during the process, i.e. when at first task, print out currently at task 1, then when finished that task write to the console now at stage 2, stage 1 completed.

any help would be greatly appreciated
6 REPLIES 6

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
the console of what? The engine running on a central machine?

arschloch1989
Champ in-the-making
Champ in-the-making
Hi,

tomcat, would like to write to it - what task i'm at each task when going through the process

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
you could create a tasklistener that does some logging, but you could also turn up the loglevel of activity for certain classes… What is the usecase for this?

arschloch1989
Champ in-the-making
Champ in-the-making
thanks, will try using task listeners.

How do you create a task listener to print out to tomcat while the process is being done using the explorer??

On the other hand, how do you go about increasing the logging level of Activity? would be good to know

use case for this is:

1) order a phone (model, manufacturer)

2) manager views request

3) accept/reject requested (base on model price)

4) if accepted complete order or if rejected print reason

5) end process

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Why would you want to log things like this?it is the history databes if you configure te corect logging

arschloch1989
Champ in-the-making
Champ in-the-making
sorry, I would like to log something like this for each task:

process started

Currently at Task: nameofthetask

task completed by: assigneename

…..

process completed


thanks for your quick replies,