[
https://issues.apache.org/jira/browse/FELIX-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacobs Bert updated FELIX-3373:
-------------------------------
Attachment: fileinstall-logging.patch
I've attached a patch which changes
the following things:
- By default, the component produces no log output. I would expect
that errors are important enough that they should be offered to the
logging system, hence I changed DirectoryWatcher to default to
LOG_ERROR.
- If a Configuration from the config-admin contains no log settings, I
altered the code to use the global log level as a default. Vice versa,
a Configuration can still override the global log level.
- Stuff like corrupt bundles may simply go unnoticed because those are
logged as warnings. I've altered the logging level for non-recoverable
situations to see everything of interest as an error.
> 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: Jacobs Bert
> 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