[
https://issues.apache.org/jira/browse/FELIX-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835274#action_12835274
]
Valentin Valchev commented on FELIX-2099:
-----------------------------------------
IMHO it's simpler to use build-in Servlet API for logging.
BTW. I'm not quite sure that we need to override that. The HTTP Server
implementation might also override that method and redirect the logs to the
OSGi Log Service.
> Cleanup logging
> ---------------
>
> Key: FELIX-2099
> URL: https://issues.apache.org/jira/browse/FELIX-2099
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Reporter: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> The WebConsole's internal BaseWebConsolePlugin class plugin provided a simple
> Logger facade to the LogService or stdout to its extensions. With the
> migration to using JQuery UI as per FELIX-1988 the BaseWebConsolePlugin will
> not be used any longer and thus the Logger is not available to the plugins.
> For now, most logging goes to the GenericServlet.log() methods.
> After FELIX-1988 is done, we should revisit logging:
> * AbstractWebConsolePlugin should overwrite the GenericServlet.log() methods
> to use the simple Logger facade internally
> * The Logger API might be provided as official API
> * The Logger instance could be made available through the
> AbstractWebConsolePlugin (which already uses this internally)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.