[AMQ-5558] don't log password

This commit is contained in:
gtully 2017-04-04 16:36:34 +01:00
parent 4a3d117d96
commit 09acc504f1
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public class ConsumerCommand extends AbstractCommand {
@Override
protected void runTask(List<String> tokens) throws Exception {
LOG.info("Connecting to URL: " + brokerUrl + " (" + user + ":" + password + ")");
LOG.info("Connecting to URL: " + brokerUrl + " as user: " + user);
LOG.info("Consuming " + destination);
LOG.info("Sleeping between receives " + sleep + " ms");
LOG.info("Running " + parallelThreads + " parallel threads");

View File

@ -48,7 +48,7 @@ public class ProducerCommand extends AbstractCommand {
@Override
protected void runTask(List<String> tokens) throws Exception {
LOG.info("Connecting to URL: " + brokerUrl + " (" + user + ":" + password + ")");
LOG.info("Connecting to URL: " + brokerUrl + " as user: " + user);
LOG.info("Producing messages to " + destination);
LOG.info("Using " + (persistent ? "persistent" : "non-persistent") + " messages");
LOG.info("Sleeping between sends " + sleep + " ms");