[ 
https://issues.apache.org/jira/browse/CXF-7129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884343#comment-15884343
 ] 

Andriy Redko commented on CXF-7129:
-----------------------------------

Added more descriptive logging:

{noformat}
7467 [qtp401625763-16] INFO 
org.apache.cxf.tracing.htrace.ext.LoggingSpanReceiver - 
spanId=e5999a29a1ea468201acac30ec04ae39 tracerId="tracer-server/192.168.0.100" 
start=1488049449621 stop=1488049451623 description="Get Employees" 
parents=[e5999a29a1ea4682d346ae17e51e0bd4] kvs=[] 
timelines=[[time=1488049451623 message="Getting all employees"]]
10470 [qtp401625763-16] INFO 
org.apache.cxf.tracing.htrace.ext.LoggingSpanReceiver - 
spanId=e5999a29a1ea4682740b43f6b9820385 tracerId="tracer-server/192.168.0.100" 
start=1488049451633 stop=1488049454634 description="Sort People" 
parents=[e5999a29a1ea4682d346ae17e51e0bd4] kvs=[] timelines=[]
10485 [qtp401625763-16] INFO 
org.apache.cxf.tracing.htrace.ext.LoggingSpanReceiver - 
spanId=e5999a29a1ea4682d346ae17e51e0bd4 tracerId="tracer-server/192.168.0.100" 
start=1488049449615 stop=1488049454649 description="GET people" 
parents=[e5999a29a1ea4682ac0a9ad638e084ed] kvs=[] timelines=[]
11469 [pool-2-thread-1] INFO 
org.apache.cxf.tracing.htrace.ext.LoggingSpanReceiver - 
spanId=e5999a29a1ea468266b1bbfd4e132066 tracerId="tracer-server/192.168.0.100" 
start=1488049453633 stop=1488049455633 description="Cache miss, table lookup" 
parents=[e5999a29a1ea468237e2cf7bc226538e] kvs=[] 
timelines=[[time=1488049455633 message="Looking up manager in the DB table"]]
11469 [pool-2-thread-1] INFO 
org.apache.cxf.tracing.htrace.ext.LoggingSpanReceiver - 
spanId=e5999a29a1ea468237e2cf7bc226538e tracerId="tracer-server/192.168.0.100" 
start=1488049451633 stop=1488049455633 description="Find Manager" 
parents=[e5999a29a1ea4682d346ae17e51e0bd4] kvs=["found"="true" 
"manager-id"="10"] timelines=[]
{noformat}

> Provide an optional HTrace Logging receiver 
> --------------------------------------------
>
>                 Key: CXF-7129
>                 URL: https://issues.apache.org/jira/browse/CXF-7129
>             Project: CXF
>          Issue Type: Improvement
>          Components: Management
>            Reporter: Sergey Beryozkin
>            Assignee: Andriy Redko
>            Priority: Minor
>             Fix For: 3.2.0, 3.1.11
>
>
> It can be useful to add the current log statements (at the specific level) to 
> the in-scope Span information. For example, at the moment CXF interceptors 
> will mark the start and the stop of the given span - log statements will 
> optionally go in between, with these log statements carrying span 'tags'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to