MWE: capture log output? [message #509696] |
Sun, 24 January 2010 17:01  |
Eclipse User |
|
|
|
Hello,
I'm unsure whether this is the right newsgroup, but I think the MWE subsystem
is part of EMFT...
I'm currently using a WorkflowRunner to execute a pre-packaged
workflow. Usually thinks work great, but if there is a problem, I'd like to
have the log output of the workflow available. With the default setup, the
output is dumped to the parent console (if I run my product from another
Eclipse instance). From what I've seen in the WorkflowRunner implementation,
there's no way to redirect this to a file or some other recipient - or did I
miss something?
Thanks
Volker
--
* Volker Wegert * http://www.volker-wegert.de/contact *
141 Reasons why you can't find your system administrator: 60. They're at a
travel agent's, booking a vacation to friendlier place, like Iraq.
|
|
|
|
Re: MWE: capture log output? [message #622055 is a reply to message #509696] |
Wed, 27 January 2010 13:21  |
Eclipse User |
|
|
|
Hi Volker,
Volker Wegert schrieb:
> I'm unsure whether this is the right newsgroup, but I think the MWE subsystem
> is part of EMFT...
yes, you're right.
> I'm currently using a WorkflowRunner to execute a pre-packaged
> workflow. Usually thinks work great, but if there is a problem, I'd like to
> have the log output of the workflow available. With the default setup, the
> output is dumped to the parent console (if I run my product from another
> Eclipse instance). From what I've seen in the WorkflowRunner implementation,
> there's no way to redirect this to a file or some other recipient - or did I
> miss something?
We use apache.commons.logging which uses log4j (ar least in our cases).
So you should be able to configure the logging using a log4j.properties
Sven
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
|
|
|
Powered by
FUDForum. Page generated in 0.04229 seconds