mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +00:00
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:
@@ -111,8 +111,8 @@ public class UIUtil
|
|||||||
log.debug("Adding Special Group id="+String.valueOf(groupIDs[i]));
|
log.debug("Adding Special Group id="+String.valueOf(groupIDs[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the session ID
|
// Set the session ID and IP address
|
||||||
c.setExtraLogInfo("session_id=" + request.getSession().getId());
|
c.setExtraLogInfo("session_id=" + request.getSession().getId() + ":ip_addr=" + request.getRemoteAddr());
|
||||||
|
|
||||||
// Store the context in the request
|
// Store the context in the request
|
||||||
request.setAttribute("dspace.context", c);
|
request.setAttribute("dspace.context", c);
|
||||||
|
Reference in New Issue
Block a user