You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/09/13 18:32:51 UTC
[jira] [Comment Edited] (SLING-3060) Enable Logback to use OSGi
services for Filters and TurboFilters
[ https://issues.apache.org/jira/browse/SLING-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766415#comment-13766415 ]
Chetan Mehrotra edited comment on SLING-3060 at 9/13/13 4:31 PM:
-----------------------------------------------------------------
Patch which enables support for Filters as OSGi services. In addition it includes following changes
# Support for Filters and TurboFilters as OSGi services [1]
# Support for overriding/extending OSGi config based appenders with Logback based config
# More testcases in various areas. Test coverage now is ~ 80%
# Enhanced web console plugin to display filter details
# Minor fixes
## Implementing close method in trackers properly
## Making Logback config loading more robust and make it handle failure properly
More details can be seen in commit history at [3]
[1] https://github.com/chetanmeh/sling-logback#logback-filter-support
[2] https://github.com/chetanmeh/sling-logback#configuring-osgi-based-appenders-in-logback-config
[3] https://github.com/chetanmeh/sling/commits/logback-filter-support2
was (Author: chetanm):
Patch which enables support for Filters as OSGi services. In addition it includes following changes
# Support for Filters and TurboFilters as OSGi services [1]
# Support for overriding/extending OSGi config based appenders with Logback based config
# More testcases in various areas. Test coverage now is ~ 80%
# Minor fixes
## Implementing close method in trackers properly
## Making Logback config loading more robust and make it handle failure properly
More details can be seen in commit history at [3]
[1] https://github.com/chetanmeh/sling-logback#logback-filter-support
[2] https://github.com/chetanmeh/sling-logback#configuring-osgi-based-appenders-in-logback-config
[3] https://github.com/chetanmeh/sling/commits/logback-filter-support2
> Enable Logback to use OSGi services for Filters and TurboFilters
> ----------------------------------------------------------------
>
> Key: SLING-3060
> URL: https://issues.apache.org/jira/browse/SLING-3060
> Project: Sling
> Issue Type: New Feature
> Components: Commons
> Affects Versions: Commons Log 4.0.0
> Reporter: Chetan Mehrotra
> Attachments: SLING-3060.patch
>
>
> Currently the Logback integration enabled use of OSGi services as Appenders [1]. It would be helpful if it can also enabled using OSGi services for Logback Filters and TurboFilters [2].
> The filters can be used to precisely extract required logs for certain flow and prove to be very useful for debugging complex issues
> [1] https://github.com/chetanmeh/sling-logback#appenders-and-whiteboard-pattern
> [2] http://logback.qos.ch/manual/filters.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira