In the logs can be seen:
couchbase://xaeslrba7b:xaeslrba7btest@couchbase01…
How is possible user and password to be redacted? I’ve tried with spark configuration properties: spark.sql.redaction.options.regex, spark.sql.redaction.string.regex and spark.secret.redactionPattern.
As I’ve written I’ve already tried that. I’ve tried it with spark.sql.redaction.string.regex, spark.redaction.regex and spark.redaction.string.regex. It doesn’t work.
An example of which logs you’re getting after the connection would help.
Another thing that I would suggest is to increase the log level on Spark.
Let’s assume that the connection logs are on the DEBUG level, you could switch to the INFO level, by using
The next log is:
com.couchbase.client.core.cnc.LoggingEventConsumer [com.couchbase.transactions.cleanup][LogEvent] Waiting for 0 regular background threads to exit