cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-7000) Allow logging to be enabled on-the-fly
Date Fri, 19 Aug 2016 12:33:20 GMT

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

Sergey Beryozkin edited comment on CXF-7000 at 8/19/16 12:33 PM:
-----------------------------------------------------------------

if you look at the actual commit you will see that the existing property is checked, which
is "org.apache.cxf.logging.enable" - if it is *explicitly* set to false then it means the
live logging is off. The code in the interceptor refers to it as LIVE_LOGGING_PROP to reflect
the fact that it affects the logging *right now, irrespectively of what the interceptors are
configured to log*.
No, you can not do it with the service specific configuration - as you have already confirmed
yourself in your previous comment.  Logging configuration (such as service specific logging
levels, etc) is what these loggers should do, what this issue is about is at what moment of
time these loggers can do whatever they are configured to do


was (Author: sergey_beryozkin):
if you look at the actual commit you will see that the existing property is checked, which
is "org.apache.cxf.logging.enable" - if it *explicitly* set to false then it mean the live
logging is off. The code in the interceptor refers to it as LIVE_LOGGING_PROP to reflect the
fact that it affects the logging *right now, irrespectively of what the interceptors are configured
to log*.
No, you can not do it with the service specific configuration - as you have already confirmed
yourself in your previous comment.  Logging configuration (such as service specific logging
levels, etc) is what these loggers should do, what this issue is about is at what moment of
time these loggers can do whatever they are configured to do

> 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)

Mime
View raw message