mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +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]));
|
||||
}
|
||||
|
||||
// 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);
|
||||
|
Reference in New Issue
Block a user