[ 
https://issues.apache.org/jira/browse/FELIX-4994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696930#comment-14696930
 ] 

Carsten Ziegeler commented on FELIX-4994:
-----------------------------------------

Thanks for your patch, I've applied it with a slight modification: by default 
the console logger is stil used. If you specify the framework property (or 
system property) org.apache.felix.http.log.jul with any value, the jul logger 
is used instead.
We don't maintain branches of our modules. I suggest you use the latest 
version, it comes with many improvments but also security fixes.
If that's not possible you can fork the branch yourself and apply your patch 
until you can update to a newer version

> Use Java Logging API in spite of System.out
> -------------------------------------------
>
>                 Key: FELIX-4994
>                 URL: https://issues.apache.org/jira/browse/FELIX-4994
>             Project: Felix
>          Issue Type: Improvement
>          Components: HTTP Service
>    Affects Versions: http-2.3.2, http-2.4.0
>         Environment: Linux, JDK 1.7, Felix 4.6.1
>            Reporter: Enrique Ruiz (DiSiD Technologies S.L.)
>         Attachments: java-logging-api.patch.gz
>
>
> If `LogServiceLogger` doesn't have a reference to the `LogService` it 
> delegates on `ConsoleLogger`.
> The problems are:
> * The `ConsoleLogger` writes the messages to `System.out`
> * We cannot configure the log verbosity
> I think it would be better if `ConsoleLogger` would use the 
> `java.util.logging.Logger`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to