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

Rostislav Svoboda commented on CXF-7000:
----------------------------------------

To be able to enable / disable live logging I need:
 * set org.apache.cxf.logging.enabled to [{{true}} or 
{{pretty}}|https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/bus/extension/ExtensionManagerBus.java#L68-L72]
 to [enable 
{{LoggingFeature}}|https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/bus/extension/ExtensionManagerBus.java#L112]
or
 * configure usage of {{LoggingInInterceptor}} or/and {{LoggingOutInterceptor}} 
on endpoint (or client side)

After that I can dynamically enable/disable logging via 
{{org.apache.cxf.logging.enable}} contextual property

Is it correct summary?

> 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
>            Assignee: Sergey Beryozkin
>             Fix For: 3.2.0, 3.1.8
>
>
> 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