Application logging in eclipse 4 application. Do you have a tutorial already posted?

72 views
Skip to first unread message

Java Dev

unread,
Oct 20, 2012, 7:16:22 AM10/20/12
to vog...@googlegroups.com
Hi,
Have you posted a tutorial on how to use logging from an eclipse 4 application? If not, are you planning perhaps to provide one or do you have some reference?
I am interested in using log4j but not sure what is the proper way. I created a plugin from jar and I am able to log, but the log4j configuration with this approach is bundled inside the plugin and as a result the end user is not able to easily turn on/off debugging unless he tries to "snoop" arround inside the plugins.

Thank you

Lars Vogel

unread,
Oct 20, 2012, 3:20:50 PM10/20/12
to vog...@googlegroups.com
Hi,

currently I don't have such a tutorial available. But the approach has
not changed compared to Eclipse 3.x. Google will help you.

Best regards, Lars

2012/10/20 Java Dev <flying...@yahoo.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "vogella" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/vogella/-/Mnng_pVf-eMJ.
> To post to this group, send email to vog...@googlegroups.com.
> To unsubscribe from this group, send email to
> vogella+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/vogella?hl=en.

Java Dev

unread,
Oct 21, 2012, 11:01:32 AM10/21/12
to vog...@googlegroups.com
Well I don't know Eclipse 3.x....
But one last question. Is this an Eclipse matter or OSGi matter? Was wondering why you mention Eclipse 3.x

Lars Vogel

unread,
Nov 5, 2012, 3:47:30 AM11/5/12
to vog...@googlegroups.com
I used this opportunity to re-sort the wiki a bit.

2012/10/23 The Highbrainer <alexandre...@gmail.com>
I think you might be interested in reading:

http://wiki.eclipse.org/E4/EAS/Logging_and_Tracing


--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/OE3Tb5qCOSAJ.

Lars Vogel

unread,
Dec 3, 2012, 1:11:59 PM12/3/12
to vog...@googlegroups.com
Hi Nino,

thanks. I fixed that and the next upload should have this fix.

Thanks again, Lars

2012/11/30 Nino van Hooff <ninova...@gmail.com>
return "<HTML>\n<HEAD>\n" + (new Date()) + "\n</HEAD>\n<BODY>\n<PRE>\n"
        + "<table width=\"100%\" border>\n  "
        + "<tr><th>Level</th><th>Time</th><th>Log Message</th></tr>\n";

Reply all
Reply to author
Forward
0 new messages