Motivation
Read epic task T292755: Epic: IP Info access for context.
By doing this task, a log entry should be created any time the popup is accessed (the popup can use either LogHandler or RevisionHandler and T294658: Create a log entry when the RevisionHandler is called will handle RevisionHandler)
AC
- If the LogHandler should return information about an IP, log it using the job created by T294658: Create a log entry when the RevisionHandler is called
Spec
- When a user views the IP Info popup create a log entry
- The log entry should capture:
- Who performed the IP information check
- Access level of the information viewed (limited or full)
- Which IP address' information was viewed
- Indicate that the popup was accessed
- Timestamp of the check
- Only one log entry should be created if the same user makes multiple checks against the same IP address over a period of 24 hours
Sample log entries:
User:A viewed limited IP Information popup for 1.1.1.1 at October 22, 11:25 UTC
User:B viewed full IP Information popup for 1.2.3.4 at October 28, 00:04 UTC