Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Logging in Eclipse Platform

> currently writing lots of entries to the error log can cause UI freezes.

I think I want to take a look at that. Flushing the SWT event queue during writing to our error log has helped our application get rid of those freezes.

Do you happen to know the bug number?

On Thu, Sep 12, 2019 at 5:44 PM Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
I know that statement would trigger a reply. :-)

I think Dirk's vision is to deprecate all other logging approaches or fascade them.

Would IMHO be nice to have one simple and fast way of logging. For example, currently writing lots of entries to the error log can cause UI freezes.

Mickael Istria <mistria@xxxxxxxxxx> schrieb am Do., 12. Sep. 2019, 17:40:


On Thu, Sep 12, 2019 at 5:22 PM Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
Having one logging solution would be great, as you pointed out it must
be simple for the IDE case and the e4 RCP case.

As mentioned in the previous thread, there are already N ways of logging, so adding one more way won't make N+1 == 1.
All the logging approach that are already in are most likely meant to stay as API, so before starting such refactoring, I think it needs to be verified how much value is to be expected from it.
As spotted in the "only few committers care of know the details about logging", I think that most contributors don't really care about logging because while it might be not perfect, it just works fine in the current state and changing this wouldn't provide much added value to them.
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev

Back to the top