You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/09/13 08:11:00 UTC

[jira] [Assigned] (SLING-10807) Need to override osgi.http.whiteboard.context.name property of RequestLoggerFilter

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

Carsten Ziegeler reassigned SLING-10807:
----------------------------------------

    Assignee: Carsten Ziegeler

> Need to override osgi.http.whiteboard.context.name property of RequestLoggerFilter
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-10807
>                 URL: https://issues.apache.org/jira/browse/SLING-10807
>             Project: Sling
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: Engine 2.7.8
>            Reporter: Sagar Miglani
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Engine 2.7.10
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> RequestLoggerFilter is unable to log access/request logs for the endpoints directly configured over the jetty server (like felix web console).
> I believe, RequestLoggerFilter filter should select all Servlet Context Helpers (similar to [ReferrerFiler:62|https://github.com/apache/sling-org-apache-sling-security/blob/1b4caa787d334d90375ab8aeb8e29dc75fcf3519/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java#L62]), and to achieve that in our instance we need to override "osgi.http.whiteboard.context.name" property of RequestLoggerFilter with a corresponding object in the OSGi configuration admin service, but we can not override it as the configuration policy is set to IGNORE ([RequestLoggerFilter:46|https://github.com/apache/sling-org-apache-sling-engine/blob/master/src/main/java/org/apache/sling/engine/impl/log/RequestLoggerFilter.java#L46])



--
This message was sent by Atlassian Jira
(v8.3.4#803005)