Skip to content

Improvement: avoid logging confidential information #22

@algra4

Description

@algra4

Hello,

By default, you log the response:

System.out.println(response.toString());

So I see the confidential information in my log as the phone number
Example:

{  "details": "Created 1 message(s)",  "errorCode": 0,  "messages": [    {      "to": "xxxxxxxx",      "status": "Accepted",      "reference": null,      "parts": 1,      "messageDetails": null,      "messageErrorCode": 0    }  ]}

Is it possible to set logging parameters according to level, for example, or simply remove the System.out.println(response.toString()); ?

Kind regards

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions