Is there a recommended way to log incoming/outgoing messages without revealing the user credentia...

...l? (similar to ​decodeToXml())

We are using decodeToXml() to print out the messages in the log file. However certain messages do contain user credential information like password which must not be logged due to security rules. I'm wondering if there's a recommended way to work around this problem as it looks to me that it is such a common question. Certainly one way is to decode the messages and format/print out ourselves, but hopefully there's a simpler way.

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello Thanawat,

    This issue has been fixed in the Elektron SDK 1.0.3. I suggest you upgrade the API to the latest version.

    Best regards,

    Wasin W.

Answers