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

Sergey Beryozkin edited comment on CXF-7000 at 8/15/16 1:57 PM:
----------------------------------------------------------------

FYI most of CXF code depends a lot on checking the contextual properties when 
deciding whether to enable or disable some actions at runtime. I'm also not 
sure what you mean about the security trade-offs - I doubt it will help us 
finding an optimal solution.

The problem I see with your proposal is that if I add LoggingFeature manually 
then calling bus.setLiveLogging  will add more interceptors with which I don't 
need. Having both LoggingFeature & LiveLoggingFeature seems problematic to me.


was (Author: sergey_beryozkin):
FYI most of CXF code depends a lot on checking the contextual properties when 
deciding whether to enable or disable some actions at runtime. I'm also not 
sure what you mean about the security trade-offs - I doubt it will help us 
finding an optimal solution.

The problem I see with your proposal is that if I add LoggingFeature manually 
then then calling bus.setLiveLogging  will add more interceptors with the 
diffwhich I don't need. Having both LoggingFeature & LiveLoggingFeature seems 
problematic to me.

> 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