Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » MWE: capture log output?
MWE: capture log output? [message #509696] Sun, 24 January 2010 22:01 Go to next message
Volker Wegert is currently offline Volker WegertFriend
Messages: 182
Registered: July 2009
Senior Member
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 #510532 is a reply to message #509696] Wed, 27 January 2010 13:28 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
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
Re: MWE: capture log output? [message #622055 is a reply to message #509696] Wed, 27 January 2010 18:21 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
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
Previous Topic:Ecoretools sources not included in the SDK
Next Topic:clause "implements" for a EMF generated class
Goto Forum:
  


Current Time: Fri Mar 29 01:10:55 GMT 2024

Powered by FUDForum. Page generated in 0.02658 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top