zouxuan 1 år sedan
förälder
incheckning
6d0d5c302c

+ 1 - 1
mec-gateway/mec-gateway-web/src/main/java/com/ym/mec/gateway/web/filter/AuthFilter.java

@@ -24,7 +24,7 @@ public class AuthFilter extends ZuulFilter {
 		RequestContext requestContext = RequestContext.getCurrentContext();
 		HttpServletRequest request = requestContext.getRequest();
 		String remoteIp = getRealIp(request);
-		logger.warn("remoteIp:-------------" ,remoteIp);
+		logger.warn("remoteIp:-------------{}" ,remoteIp);
 		requestContext.getZuulRequestHeaders().put("HTTP_X_FORWARDED_FOR", remoteIp);
 		return null;
 	}