You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Karl M. Davis (JIRA)" <ji...@apache.org> on 2014/04/28 03:46:17 UTC
[jira] [Created] (CXF-5714)
org.apache.cxf.interceptor.LoggingMessage doesn't have getId() property
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)