Sagar Miglani created SLING-10807:
-------------------------------------

             Summary: Need to override osgi.http.whiteboard.context.name 
propery of RequestLoggerFilter
                 Key: SLING-10807
                 URL: https://issues.apache.org/jira/browse/SLING-10807
             Project: Sling
          Issue Type: Bug
          Components: Engine
    Affects Versions: Engine 2.7.8
            Reporter: Sagar Miglani


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)

Reply via email to