[
https://issues.apache.org/jira/browse/CXF-7999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Brownell updated CXF-7999:
---------------------------------
Description:
Upgraded logging interceptors, as started using CXF 3.1, to use the "features":
|{{<}}{{jaxws:endpoint}} {{...>}}
{{ }}{{<}}{{jaxws:features}}{{>}}
{{ }}{{<}}{{bean}}
{{class}}{{=}}{{"org.apache.cxf.ext.logging.LoggingFeature"}}{{/>}}
{{ }}{{</}}{{jaxws:features}}{{>}}
{{</}}{{jaxws:endpoint}}{{>}}|
as per [http://cxf.apache.org/docs/message-logging.html]
This didn't work. "Outbound Message" and "Inbound Message" logs no longer
appear.
Tried with org.apache.cxf.feature.LoggingFeature too, as that resolved to a
class, while ext did not. But still not.
Another user seems to have the same problem on SO:
[https://stackoverflow.com/questions/55050636/apache-cxf-3-2-7-loggingfeature-configuration]
I added the dependency containing the "ext" version in my pom.xml:
*<dependency>*
*<groupId>org.apache.cxf</groupId>*
*<artifactId>cxf-rt-features-logging</artifactId>*
*</dependency>*
but nothing yet.
was:
Upgraded logging interceptors, as started using CXF 3.1, to use the "features":
|{{<}}{{jaxws:endpoint}} {{...>}}
{{ }}{{<}}{{jaxws:features}}{{>}}
{{ }}{{<}}{{bean}}
{{class}}{{=}}{{"org.apache.cxf.ext.logging.LoggingFeature"}}{{/>}}
{{ }}{{</}}{{jaxws:features}}{{>}}
{{</}}{{jaxws:endpoint}}{{>}}|
as per [http://cxf.apache.org/docs/message-logging.html]
This didn't work. "Outbound Message" and "Inbound Message" logs no longer
appear.
Tried with org.apache.cxf.feature.LoggingFeature too, as that resolved to a
class, while ext did not. But still not.
Another user seems to have the same problem on SO:
[https://stackoverflow.com/questions/55050636/apache-cxf-3-2-7-loggingfeature-configuration]
I added the dependency containing the "ext" version in my pom.xml:
***<dependency>*
*<groupId>org.apache.cxf</groupId>*
*<artifactId>cxf-rt-features-logging</artifactId>*
*</dependency>*
but nothing yet.
> LoggingFeature documentation example invalid
> --------------------------------------------
>
> Key: CXF-7999
> URL: https://issues.apache.org/jira/browse/CXF-7999
> Project: CXF
> Issue Type: Bug
> Components: Documentation, JAX-WS Runtime
> Affects Versions: 3.1
> Environment: Centos 7.5, Fuse 7, (cxf 3.1.11), and slf/log4j2.
>
>
> Reporter: Daniel Brownell
> Priority: Major
>
>
> Upgraded logging interceptors, as started using CXF 3.1, to use the
> "features":
> |{{<}}{{jaxws:endpoint}} {{...>}}
> {{ }}{{<}}{{jaxws:features}}{{>}}
> {{ }}{{<}}{{bean}}
> {{class}}{{=}}{{"org.apache.cxf.ext.logging.LoggingFeature"}}{{/>}}
> {{ }}{{</}}{{jaxws:features}}{{>}}
> {{</}}{{jaxws:endpoint}}{{>}}|
> as per [http://cxf.apache.org/docs/message-logging.html]
>
> This didn't work. "Outbound Message" and "Inbound Message" logs no longer
> appear.
> Tried with org.apache.cxf.feature.LoggingFeature too, as that resolved to a
> class, while ext did not. But still not.
>
>
> Another user seems to have the same problem on SO:
> [https://stackoverflow.com/questions/55050636/apache-cxf-3-2-7-loggingfeature-configuration]
>
>
> I added the dependency containing the "ext" version in my pom.xml:
> *<dependency>*
> *<groupId>org.apache.cxf</groupId>*
> *<artifactId>cxf-rt-features-logging</artifactId>*
> *</dependency>*
> but nothing yet.
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)