Repository: activemq Updated Branches: refs/heads/master 9bc602be4 -> 7043f32bb
https://issues.apache.org/jira/browse/AMQ-5771 Including remote ip address when logging authentication failures Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/84737f77 Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/84737f77 Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/84737f77 Branch: refs/heads/master Commit: 84737f7749a74fda8b17e20ff02e5efd2adac764 Parents: 9bc602b Author: Christopher L. Shannon <christopher.l.shan...@gmail.com> Authored: Thu May 21 20:36:41 2015 -0400 Committer: Timothy Bish <tabish...@gmail.com> Committed: Fri May 22 15:37:48 2015 -0400 ---------------------------------------------------------------------- .../main/java/org/apache/activemq/broker/TransportConnection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq/blob/84737f77/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java ---------------------------------------------------------------------- diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java index a86a36e..84d2101 100755 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java +++ b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java @@ -348,7 +348,8 @@ public class TransportConnection implements Connection, Task, CommandVisitor { if (responseRequired) { if (e instanceof SecurityException || e.getCause() instanceof SecurityException) { - SERVICELOG.warn("Security Error occurred: {}", e.getMessage()); + SERVICELOG.warn("Security Error occurred on connection to: {}, {}", + transport.getRemoteAddress(), e.getMessage()); } response = new ExceptionResponse(e); } else {