You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/03/13 12:55:27 UTC

[jira] Resolved: (FELIX-2099) Cleanup logging

     [ https://issues.apache.org/jira/browse/FELIX-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2099.
--------------------------------------

    Resolution: Fixed
      Assignee: Felix Meschberger

Cleanup of logging in Rev. 922540 :

All logging now goes through the GenericServlet.log methods where the AbstractWebConsolePlugin provides log methods taking a log level used to filter log messages on a log level configurable for all web console plugins.

Removed the now unused Logger and BaseManagementPlugin classes.

Simplified the BasedUpdateInstallHelper and its extension classes using a SimpleWebConsolePlugin as its basis for logging and service access.

Added configuration option (loglevel) to configure the loglevel message filter.

> 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
>            Assignee: 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.