Hello all,

In my current project I have a struct with both required and optional 
variables. In its generated Java code, these are checked with a validate() 
method, which passes every variable name and value to a TException via 
toString().
Trouble is, some of these (optional) variables contain sensitive information 
that I'd like to keep out of logs/console/toString/anywhere. Would it be 
possible to mark these variables as sensitive, so that toString() ignores them?

This solution might be similar:
https://issues.apache.org/jira/browse/THRIFT-113 
<https://issues.apache.org/jira/browse/THRIFT-113>

Many thanks!

K. Coppage

Reply via email to