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

Colin Patrick McCabe commented on HTRACE-113:
---------------------------------------------

Thanks for that, Nick.  Unfortunately {{printStackTrace}} always goes to 
stderr, unless you use a {{PrintStream}} or {{PrintWriter}}, which gets kind of 
awkward.

I ran with this patch and I found seeing "RuntimeException" in the logs a 
little distracting... maybe I will take the effort to do a "real" utility 
method that can log the stack more nicely.

> Add more log4j messages to htrace SamplerBuilder, SpanReceiverBuilder, etc.
> ---------------------------------------------------------------------------
>
>                 Key: HTRACE-113
>                 URL: https://issues.apache.org/jira/browse/HTRACE-113
>             Project: HTrace
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-113.001.patch
>
>
> We should add more log4j messages at DEBUG or TRACE level to htrace 
> SamplerBuilder, SpanReceiverBuilder, etc.  This will make it easier to 
> determine which samplers and span receivers are being used by the application.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to