directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] [Commented] (DIRSTUDIO-1042) Fix logging system
Date Sun, 03 May 2015 16:45:06 GMT


Stefan Seelmann commented on DIRSTUDIO-1042:
-------------------------------------------- and

This solution works well in standalone Studio RCP application. However it's not possible to
install the Studio plugins into a regular Eclipse Luna, there are conflicts with existing
slf4j and logback bundles. Logging frameworks and OSGi is a huge mess.

> Fix logging system
> ------------------
>                 Key: DIRSTUDIO-1042
>                 URL:
>             Project: Directory Studio
>          Issue Type: Bug
>            Reporter: Stefan Seelmann
>             Fix For: 2.0.0-M9
> The logging system is broken. There seem to be multiple issues.
> 1. When starting Studio a message like this is printed:
> {noformat}
> log4j:WARN No appenders could be found for logger (
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See for more info.
> {noformat}
> In API and ApacheDS bundles we use slf4j. Currently we add slf4j-log4j12 binding and
log4j bundles. However there is no configuration.
> One approach is to keep log4j add a Fragement-Host for log4j that contains the
> Another approach is to remove log4j and add our own slf4j binding that forwards logs
to Eclipse/OSGI log service.
> 2. When running SWTBot tests lot of server logs are printed ot stdout.

This message was sent by Atlassian JIRA

View raw message