You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by jk...@apache.org on 2020/12/14 15:11:17 UTC

[unomi] 01/01: UNOMI-408: fix debug log in SetRemoteHostInfoAction

This is an automated email from the ASF dual-hosted git repository.

jkevan pushed a commit to branch UNOMI-408
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit 058a0ab118201574c330113a1a1babf2ebb14de6
Author: Kevan <ke...@jahia.com>
AuthorDate: Mon Dec 14 16:11:02 2020 +0100

    UNOMI-408: fix debug log in SetRemoteHostInfoAction
---
 .../apache/unomi/plugins/request/actions/SetRemoteHostInfoAction.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/request/src/main/java/org/apache/unomi/plugins/request/actions/SetRemoteHostInfoAction.java b/plugins/request/src/main/java/org/apache/unomi/plugins/request/actions/SetRemoteHostInfoAction.java
index 34f9fd4..02c6f53 100644
--- a/plugins/request/src/main/java/org/apache/unomi/plugins/request/actions/SetRemoteHostInfoAction.java
+++ b/plugins/request/src/main/java/org/apache/unomi/plugins/request/actions/SetRemoteHostInfoAction.java
@@ -120,7 +120,7 @@ public class SetRemoteHostInfoAction implements ActionExecutor {
         }
         String remoteAddrParameter = httpServletRequest.getParameter("remoteAddr");
         if (logger.isDebugEnabled()) {
-            logger.debug("Remote address param is " + remoteAddr);
+            logger.debug("Remote address param is " + remoteAddrParameter);
         }
         String xff = httpServletRequest.getHeader("X-Forwarded-For");
         if (logger.isDebugEnabled()) {