databricks-sdk-go
databricks-sdk-go copied to clipboard
Fix: Replace non-ASCII and non-printable characters with dots in logger
trafficstars
What changes are proposed in this pull request?
Never log non-ASCII or non-printable characters in log output.
Request logs may include binary data if it isn't JSON. This can affect the terminal state.
Motivated by https://github.com/databricks/cli/pull/2804.
How is this tested?
Unit test that confirms that non-printable ASCII and UTF-8 characters are replaced with a ..