AnsweredAssumed Answered

Trace String parameter value passed to a method using String tracer

Question asked by prasad890 on Oct 26, 2010
Latest reply on Oct 29, 2010 by Hiko_Davis
we have a requirement to trace STRING type value passed to a method using String tracer. can this be done ? if so do we have any String type tracers ?

currently we are doing something like below using BlamedPerIntervalCounter tracer to report Integer type data. we would like to do same and report errorcode ({0}) as String data.

in our custom pbd

IdentifyClassAs: com.util.MyClass ParamTracing
TraceOneMethodWithParametersIfFlagged: ParamTracing setErrorCode BlamedPerIntervalCounter "errorcode|{0}:count"

any help is greatly appreciated

Outcomes