felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JBert (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-3373) File install logging doesn't notify user of important errors
Date Mon, 05 Mar 2012 22:27:56 GMT

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

JBert updated FELIX-3373:

    Attachment: fileinstall-logging.patch

Added patch file.

This patch does 3 things:

-It changes the default log level to ERROR.

-If the log level is set using the bundle context or a system property, this setting will
become the default log level for all watchers, this according to the principle of least surprise.
Configurations from the config admin can still override this value.

-Some logging statements got their severity raised from WARNING to ERROR because fileinstall
didn't actually handle the problem, and hence might be important to the user. I've checked
that these occur only once, in an effort to be not too verbose.
> File install logging doesn't notify user of important errors
> ------------------------------------------------------------
>                 Key: FELIX-3373
>                 URL: https://issues.apache.org/jira/browse/FELIX-3373
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-3.1.10
>            Reporter: JBert
>              Labels: logging
>         Attachments: fileinstall-logging.patch
> When a bundle cannot be installed, no error is added to the log. Similarly, problems
with jarring a directory are not logged as errors.
> At the same time, logging is disabled by default. I would expect it to be set to the
ERROR level, and only log important errors once.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message