[ 
https://issues.apache.org/jira/browse/CXF-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420771#comment-15420771
 ] 

Ingo Weiss commented on CXF-7000:
---------------------------------

If I understand you correctly, there is a property already, 
{{org.apache.cxf.logging.enabled}}, that is read during the 
{{ExtensionManagerBus}} instantiation.

What I am proposing is a way to attach a {{LoggingFeature}} without restarting 
the bus and thus replicating the behaviour of 
{{org.apache.cxf.logging.enabled=true}} when needed.

I did a bit of over-engineering by introducing {{LiveLoggingInInterceptor}} and 
{{LiveLoggingOutInterceptor}} so to allow others to extend 
{{LoggingInInterceptor}} and {{LoggingOutInterceptor}} and still have this 
feature available.

Makes sense?

> Allow logging to be enabled on-the-fly
> --------------------------------------
>
>                 Key: CXF-7000
>                 URL: https://issues.apache.org/jira/browse/CXF-7000
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core, logging
>    Affects Versions: 3.1.7
>            Reporter: Ingo Weiss
>
> Allow the logging feature to be enabled on-the-fly without restarting the bus.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to