> Or alternatively we could replace System.out with a custom PrintStream that > checked a ThreadLocalVariable to see which task it is associated with. This > sort of trick is oftend used in servlet/ejb containers. >
Hmmm, that is possible. I'll think a bit more about that. Conor