Added IP address logging

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1384 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Yeadon
2005-12-08 00:17:59 +00:00
parent 4fb9b47434
commit 530c4a4e5c

View File

@@ -111,8 +111,8 @@ public class UIUtil
log.debug("Adding Special Group id="+String.valueOf(groupIDs[i]));
}
// Set the session ID
c.setExtraLogInfo("session_id=" + request.getSession().getId());
// Set the session ID and IP address
c.setExtraLogInfo("session_id=" + request.getSession().getId() + ":ip_addr=" + request.getRemoteAddr());
// Store the context in the request
request.setAttribute("dspace.context", c);