Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » logging debug information
logging debug information [message #326416] Wed, 19 March 2008 02:02 Go to next message
Eclipse UserFriend
Originally posted by: marc_e.ye.olde.spam.buster.cablespeed.com

Greetings all. I'm trying to figure out the best practices for logging debug
information. Basically, I've got a plugin out in the field and as users
experience problems, I find I need to know certain things. These are things
that during development i stuffed in system.out.println() calls or some such
thing and then removed before deployment. turns out, i need to know those
things now.

I implemented a Log class per the "commercial quality plugins" book, but
it's not really helping me. No matter what I try, adding the flags into a
..options file does not put the information I'm seeking into the eclipse log
file.

What I really need is something like this: a way to have the user be able to
turn "robust debugging" on, either via a preference or a command line flag
or something, and have my code respond to that and log to a specific file
that the user can send to me. I don't want the user to submit the entire
eclipse .log file... just the file that contains my output.

What do you all do for situations like this?

thanks a lot.

Marc
Re: logging debug information [message #326490 is a reply to message #326416] Thu, 20 March 2008 17:26 Go to previous message
Eclipse UserFriend
Originally posted by: rclevengnospam.gmailnospam.com

Check out the eclipse platform debug tracing facility:

http://wiki.eclipse.org/FAQ_How_do_I_use_the_platform_debug_ tracing_facility%3F

- Rob

Marc E wrote:
> Greetings all. I'm trying to figure out the best practices for logging debug
> information. Basically, I've got a plugin out in the field and as users
> experience problems, I find I need to know certain things. These are things
> that during development i stuffed in system.out.println() calls or some such
> thing and then removed before deployment. turns out, i need to know those
> things now.
>
> I implemented a Log class per the "commercial quality plugins" book, but
> it's not really helping me. No matter what I try, adding the flags into a
> .options file does not put the information I'm seeking into the eclipse log
> file.
>
> What I really need is something like this: a way to have the user be able to
> turn "robust debugging" on, either via a preference or a command line flag
> or something, and have my code respond to that and log to a specific file
> that the user can send to me. I don't want the user to submit the entire
> eclipse .log file... just the file that contains my output.
>
> What do you all do for situations like this?
>
> thanks a lot.
>
> Marc
>
>
>
Previous Topic:creating an IFile from an InputStream
Next Topic:GSOC Project Inquiry
Goto Forum:
  


Current Time: Mon Dec 30 16:01:57 GMT 2024

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

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

Back to the top