You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/08/07 13:21:46 UTC
[jira] [Commented] (FELIX-4994) Use Java Logging API in spite of
System.out
[ https://issues.apache.org/jira/browse/FELIX-4994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661673#comment-14661673 ]
Carsten Ziegeler commented on FELIX-4994:
-----------------------------------------
I understand this reasoning, however if you make sure that the LogService is one of the first bundles to be started (which is a good idea anyway), then everything else starts after it and there are no messages to System.out
> 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.)
>
> 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)