Karl M. Davis created CXF-5714:
----------------------------------
Summary: org.apache.cxf.interceptor.LoggingMessage doesn't have
getId() property
Key: CXF-5714
URL: https://issues.apache.org/jira/browse/CXF-5714
Project: CXF
Issue Type: Improvement
Components: Core
Affects Versions: 3.0.0-milestone1
Reporter: Karl M. Davis
Priority: Minor
I was looking to create a subclass of
{{org.apache.cxf.interceptor.LoggingInInterceptor}} that doesn't add line
breaks to the log event. It seems like the class is designed such that folks
wishing to do things like this should just override the
{{LoggingInInterceptor.formatLoggingMessage(LoggingMessage)}} method and build
their log event text however they wish. Unfortunately, any custom version of
this method isn't able to include the {{LoggingMessage.id}} field (like the
default implementation does), as this field doesn't have a getter.
--
This message was sent by Atlassian JIRA
(v6.2#6252)