activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject activemq git commit: [AMQ-5558] don't log password
Date Tue, 04 Apr 2017 15:37:14 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 4a3d117d9 -> 09acc504f


[AMQ-5558] don't log password


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/09acc504
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/09acc504
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/09acc504

Branch: refs/heads/master
Commit: 09acc504f18cdecbdf9f947ef3d07deafa2ec0b2
Parents: 4a3d117
Author: gtully <gary.tully@gmail.com>
Authored: Tue Apr 4 16:36:34 2017 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Tue Apr 4 16:36:34 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/activemq/console/command/ConsumerCommand.java  | 2 +-
 .../java/org/apache/activemq/console/command/ProducerCommand.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/09acc504/activemq-console/src/main/java/org/apache/activemq/console/command/ConsumerCommand.java
----------------------------------------------------------------------
diff --git a/activemq-console/src/main/java/org/apache/activemq/console/command/ConsumerCommand.java
b/activemq-console/src/main/java/org/apache/activemq/console/command/ConsumerCommand.java
index 8c677cc..fe7725d 100644
--- a/activemq-console/src/main/java/org/apache/activemq/console/command/ConsumerCommand.java
+++ b/activemq-console/src/main/java/org/apache/activemq/console/command/ConsumerCommand.java
@@ -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");

http://git-wip-us.apache.org/repos/asf/activemq/blob/09acc504/activemq-console/src/main/java/org/apache/activemq/console/command/ProducerCommand.java
----------------------------------------------------------------------
diff --git a/activemq-console/src/main/java/org/apache/activemq/console/command/ProducerCommand.java
b/activemq-console/src/main/java/org/apache/activemq/console/command/ProducerCommand.java
index ab1ad2b..199ad6f 100644
--- a/activemq-console/src/main/java/org/apache/activemq/console/command/ProducerCommand.java
+++ b/activemq-console/src/main/java/org/apache/activemq/console/command/ProducerCommand.java
@@ -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");


Mime
View raw message