|
Re: EMF Error Log [message #428620 is a reply to message #428613] |
Wed, 25 March 2009 14:19 |
Ed Merks 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’t exeplicitly put Syserr
then everything is catched there.</span></font></blockquote>
That's the idea. 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’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
<workspace>/.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/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02200 seconds