This commit is contained in:
Justin Bertram 2021-03-17 09:50:58 -05:00
commit 5514bca9a6
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class JDBCDataSourceUtils {
ActiveMQJournalLogger.LOGGER.initializingJdbcDataSource(dataSourceClassName, dataSourceProperties
.keySet()
.stream()
.map(key -> key + "=" + dataSourceProperties.get(key))
.map(key -> key + "=" + (key.equalsIgnoreCase("password") ? "****" : dataSourceProperties.get(key)))
.collect(Collectors.joining(", ", "{", "}")));
try {
DataSource dataSource = (DataSource) Class.forName(dataSourceClassName).newInstance();