protected void recordAttributes(SpanEventRecorder recorder, LoggingMessage loggingMessage) {

        StringBuilder address = loggingMessage.getAddress();
        if (address.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_ADDRESS, address.toString());
        }

        StringBuilder responseCode = loggingMessage.getResponseCode();
        if (responseCode.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_RESPONSE_CODE, responseCode.toString());
        }

        StringBuilder encoding = loggingMessage.getEncoding();
        if (encoding.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_ENCODING, encoding.toString());
        }

        StringBuilder httpMethod = loggingMessage.getHttpMethod();
        if (httpMethod.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_HTTP_METHOD, httpMethod.toString());
        }

        StringBuilder contentType = loggingMessage.getContentType();
        if (contentType.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_CONTENT_TYPE, contentType.toString());
        }

        StringBuilder header = loggingMessage.getHeader();
        if (header.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_HEADERS, header.toString());
        }

        StringBuilder message = loggingMessage.getMessage();
        if (message.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_MESSAGES, message.toString());
        }

        StringBuilder payload = loggingMessage.getPayload();
        if (payload.length() > 0) {
            recorder.recordAttribute(CxfPluginConstants.CXF_PAYLOAD, payload.toString());
        }

    }
Record attributes.

@param recorder       the recorder
@param loggingMessage the logging message
agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/interceptor/CxfLoggingMessageMethodInterceptor.java