[ 
https://issues.apache.org/jira/browse/CXF-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp updated CXF-652:
----------------------------

    Fix Version/s:     (was: 2.0.1)


I think  what Jervis was suggesting was something along the lines of:

When a service starts up, check to see if a logger is configure in the 
logging.properties or similar like:

cxf.GreeterService.GreeterPort.level = INFO

or similar and if there is, then automatically add in the LoggingFeature to log 
to that logger.   Thus, the logging is completely controllable from 
logging.properties and not stuff in the spring config or annotations.


While an interesting idea, it won't be done for 2.0.1 so moving it out.

> Dump incoming/outgoing SOAP messages by enabling logging
> --------------------------------------------------------
>
>                 Key: CXF-652
>                 URL: https://issues.apache.org/jira/browse/CXF-652
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0
>            Reporter: Jervis Liu
>            Assignee: Jervis Liu
>
> I suppose we can dump messages sending/receiving by CXF by enabling logging. 
> Actually we do have a LoggingOutInterceptor/LoggingInInterceptor to serve 
> this purpose, we can add them manually by code like 
> ep.getServer().getEndpoint().getInInterceptors().add(new 
> LoggingInInterceptor());. But I would like to see this done automatically 
> when I enable CXF logging. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to