[ROO-3658] Apache Felix HTTP Jetty is logging to System.out Created: 14/Aug/15 Updated: 31/Aug/15 Resolved: 31/Aug/15
|Reporter:||Enrique Ruiz (DiSiD)||Assignee:||Enrique Ruiz (DiSiD)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
When the Apache Felix HTTP Jetty is added to OSGi containter the LogServiceLogger delegates on ConsoleLogger by default when it doesn't have a reference to the LogService.
The problem is the ConsoleLogger writes the messages to System.out which causes Roo cannot configure the log verbosity and unexpected logs are being shown to the developer.
|Comment by Enrique Ruiz (DiSiD) [ 14/Aug/15 ]|
An issue has been opened at Felix JIRA: https://issues.apache.org/jira/browse/FELIX-4994
Whereas it is solved we have created the wrapping felix-http-jetty that solves the issue at https://github.com/spring-projects/spring-roo-wrapping
|Comment by Enrique Ruiz (DiSiD) [ 31/Aug/15 ]|
Update the classes that compose the patch to implement the definitive solution implemented by the Felix team.
Now default the console logger is still used by default. If you specify the framework property (or system property) org.apache.felix.http.log.jul with any value, the jul logger is used instead.
The Felix team don't maintain branches of our modules and applied the improvement to the latest version only so we still need this wrapping.