DBZ-6908 Print password as stars
This commit is contained in:
parent
d83139a54a
commit
278c4f5847
@ -104,7 +104,8 @@ public class RedisCommonConfig {
|
||||
|
||||
public RedisCommonConfig(Configuration config, String prefix) {
|
||||
config = config.subset(prefix, true);
|
||||
LOGGER.info("Configuration for '{}' with prefix '{}': {}", getClass().getSimpleName(), prefix, config.asMap());
|
||||
|
||||
LOGGER.info("Configuration for '{}' with prefix '{}': {}", getClass().getSimpleName(), prefix, config.withMaskedPasswords());
|
||||
if (!config.validateAndRecord(getAllConfigurationFields(), error -> LOGGER.error("Validation error for property with prefix '{}': {}", prefix, error))) {
|
||||
throw new DebeziumException(
|
||||
String.format("Error configuring an instance of '%s' with prefix '%s'; check the logs for errors", getClass().getSimpleName(), prefix));
|
||||
|
Loading…
Reference in New Issue
Block a user