eclipse-mylyn / org.eclipse.mylyn

Eclipse Public License 2.0
14 stars 9 forks source link

policy for configuring logging systems such as commons logging #43

Open gnl42 opened 1 year ago

gnl42 commented 1 year ago

This issue was created in gitlab.eclipse.org by Steffen Pingel (see https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/142)

Mylyn integrates with a number of libraries from Apache and other providers many of which use the Apache commons logging framework. To avoid potentially confusing output to appear on the console Mylyn sets the "org.apache.commons.logging.Log" system property to "org.apache.commons.logging.impl.NoOpLog" which suppresses any output (users can override this behavior by explicitly setting the system property in which case it is not modified). Unfortunately, the logging configuration affects all consumers of commons logging. This can be problematic if other consumers that are not aware of Mylyn's default configuration intend to configure logging in a different way (e.g. bug 353168). Since logging is a platform concern it doesn't seem right to have explicit logging configuration in Mylyn. What is the best way to configuring logging? Should there be support in platform? Should each logging system be configured by separate bundles that are included on a distribution package level? Any other suggestions? Related discussions and bugs: \

wimjongman commented 1 year ago

Patches are welcome.