Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Logging in RAP
Logging in RAP [message #484403] Mon, 07 September 2009 12:07 Go to next message
Thomas Haskes is currently offline Thomas HaskesFriend
Messages: 147
Registered: July 2009
Senior Member
Hi Developers,

I would like to set up some kind of logging for my RAP application, but
at the moment I'm not that familiar with logging technologies.

Is there anything to have in mind when setting up logging for a RAP
application? Is it possible to set it up in a way that is single
sourcing aware? Is there a HOWTO already?

TIA

Tom
Re: Logging in RAP [message #484422 is a reply to message #484403] Mon, 07 September 2009 12:43 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Thomas,

depends on how you define "logging". If it's just about logging certain
things to an end-point (file, db, stream, whatever) then there is
nothing you need to care about. See for example this series about
logging in OSGi:
http://ekkescorner.wordpress.com/blog-series/osgi-apps/
OSGi itself provides a log service that you can use.

If you're talking about Log-Handling, eg. display some error to the
user, they you need to take a little care. As long as you're working
with the status handlers of the Workbench, there should be no problem to
expect. As always, the most problematic thing is if you're trying to do
something in the UI from a background thread without a handle to the
display - but this is not specific to logging.

Hope that helped a little bit,
Ben

Thomas Haskes wrote:
> Hi Developers,
>
> I would like to set up some kind of logging for my RAP application, but
> at the moment I'm not that familiar with logging technologies.
>
> Is there anything to have in mind when setting up logging for a RAP
> application? Is it possible to set it up in a way that is single
> sourcing aware? Is there a HOWTO already?
>
> TIA
>
> Tom
Re: Logging in RAP [message #484472 is a reply to message #484422] Mon, 07 September 2009 15:27 Go to previous message
Thomas Haskes is currently offline Thomas HaskesFriend
Messages: 147
Registered: July 2009
Senior Member
> Hope that helped a little bit,
> Ben

Yep, that was I was looking for.

Thanks
Previous Topic:CNF in RAP
Next Topic:CVS Tags and Branches
Goto Forum:
  


Current Time: Tue Apr 16 22:26:12 GMT 2024

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

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

Back to the top