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

Christian Schneider commented on CXF-7000:
------------------------------------------

I think it should still work nicely. I just tested with the current CXF-DOSGi 
samples. These are not equipped with logging by default.
I installed the logging feature and enabled it like described in the docs.
Then I installed the CXF-DOSGi samples rest and soap impl and did some requests.

The logger names were these:
org.apache.cxf.services.TaskResource.REQ_IN
org.apache.cxf.services.TaskResource.RESP_OUT
org.apache.cxf.services.TaskService.REQ_IN
org.apache.cxf.services.TaskService.RESP_OUT

So there is a top level org.apache.cxf.services which can be used to switch all 
service logging on and off. 
Each service also has a different logger so it is also possible to toggle 
service logging individually.
The CXF-DOSGi case also shows that you can enable logging for services that 
were not even prepared for it.


> 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