Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Error Log
EMF Error Log [message #428613] Wed, 25 March 2009 13:15 Go to next message
maatari is currently offline maatariFriend
Messages: 74
Registered: July 2009
Member
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3320835333_874600
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit

Hi,

Does any one know how the Logger that comes with the plugin generated by EMF
work. Usualy I just print in system.err.println() when for instance I catch
an expection
However in this case, There are a lot of execption catched by the logger,
and if I don
Re: EMF Error Log [message #428620 is a reply to message #428613] Wed, 25 March 2009 14:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060306000200030501010903
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Daniel,

Comments below.

Daniel OKOUYA wrote:
> Hi,
>
> Does any one know how the Logger that comes with the plugin generated
> by EMF work.
It uses the underlying eclipse logging mechanism when running in Eclipse
or just does printing to System.err in stand alone mode.
> Usualy I just print in system.err.println() when for instance I catch
> an expection
Such printing can be lost when doing it from a GUI application, whereas
in the log it's properly recorded.
> However in this case, There are a lot of execption catched by the
> logger, and if I don't exeplicitly put Syserr then everything is
> catched there.
That's the idea. And there really shouldn't be a lot of such things
there...
> Therefore I'd like to know how to retreive those logs. Please, can any
> one help ?
There's the Error Log view and of course <workspace>/.metadata/.log will
give you the recording as text.
>
>
> Regards,
> Daniel

--------------060306000200030501010903
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Daniel,<br>
<br>
Comments below.<br>
<br>
Daniel OKOUYA wrote:
<blockquote cite="mid:C5EFED02.83D8%25okouya_d@yahoo.fr" type="cite">
<title>EMF Error Log</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Hi, <br>
<br>
Does any one know how the Logger that comes with the plugin generated
by EMF work. </span></font></blockquote>
It uses the underlying eclipse logging mechanism when running in
Eclipse or just does printing to System.err in stand alone mode.<br>
<blockquote cite="mid:C5EFED02.83D8%25okouya_d@yahoo.fr" type="cite"><font
face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Usualy I just print in system.err.println()
when for instance I catch an expection<br>
</span></font></blockquote>
Such printing can be lost when doing it from a GUI application, whereas
in the log it's properly recorded.<br>
<blockquote cite="mid:C5EFED02.83D8%25okouya_d@yahoo.fr" type="cite"><font
face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">However in this case, There are a lot of
execption catched by the logger, and if I don&#8217;t exeplicitly put Syserr
then everything is catched there.</span></font></blockquote>
That's the idea.&nbsp; And there really shouldn't be a lot of such things
there...<br>
<blockquote cite="mid:C5EFED02.83D8%25okouya_d@yahoo.fr" type="cite"><font
face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"> Therefore I&#8217;d like to know how to retreive
those logs. Please, can any one help ?<br>
</span></font></blockquote>
There's the Error Log view and of course
&lt;workspace&gt;/.metadata/.log will give you the recording as text.<br>
<blockquote cite="mid:C5EFED02.83D8%25okouya_d@yahoo.fr" type="cite"><font
face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
<br>
Regards,<br>
Daniel<br>
</span></font>
</blockquote>
</body>
</html>

--------------060306000200030501010903--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF Error Log [message #428642 is a reply to message #428620] Wed, 25 March 2009 16:56 Go to previous message
maatari is currently offline maatariFriend
Messages: 74
Registered: July 2009
Member
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3320848590_90158
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit

Many thanks Ed.
Just for precision for those who might be interested, In fact I thought
about the error Log view also. Unfortunately, I was looking at the wrong
place. The log view catch it not in the workbench in which you
Previous Topic:[CDO] DBException
Next Topic:Tutorial EMF/Teneo persistence
Goto Forum:
  


Current Time: Fri Apr 26 10:52:16 GMT 2024

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

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

Back to the top