[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] DS activation and error logging
- From: Stoyan Boshev <s.boshev@xxxxxxxxxxx>
- Date: Tue, 16 Jun 2009 19:14:58 +0300
- Delivered-to: email@example.com
- User-agent: Thunderbird 184.108.40.206 (Windows/20090302)
Thomas Watson wrote:
> "Michael Furtak" <mfurtak@xxxxxxx>
> That is my understanding as well. So I guess what I am wondering is:
> Given the set of Equinox bundles I described (including
> org.eclipse.equinox.log), I am not seeing a log file produced or an
> exception logged when my run configuration contains very few bundles. Is
> my component activation exception perhaps winning a race between the SCR
> activation process and the SCR's acquiring of a LogService?
The LogService does not actually persist the logged events to file.
That is left up to a log listener to decide how to persist the log.
This is a hint to DS bundle users.
It is not very convenient to read the logs when you need to see the
problems with DS components.
I would suggest to turn on the "print_on_console" trace option of DS
bundle. This will show any errors and warnings coming from SCR in the
console. It is quite easy to see the problems with your DS components.
Another way to turn this feature on is by using the system property