Revision 9098
Added by Jing Tao about 9 years ago
EventLog.java | ||
---|---|---|
116 | 116 |
* @param event the string code for the event |
117 | 117 |
*/ |
118 | 118 |
public void log(String ipAddress, String userAgent, String principal, String docid, String event) { |
119 |
EventLogData logData = new EventLogData(ipAddress, principal, docid, event); |
|
119 |
EventLogData logData = new EventLogData(ipAddress, userAgent, principal, docid, event);
|
|
120 | 120 |
insertLogEntry(logData); |
121 | 121 |
|
122 | 122 |
// update the event information in the index |
Also available in: Unified diff
The constrcutor of EventLogData missed the user-agent field. So the user-agent wasn't recorded.
The bug was fixed.