Motivation
Read epic task T292755: Epic: IP Info access for context.
By doing this task, a log entry should be created any time the infobox is accessed (since the infobox only uses RevisionHandler). Also when a popup is accessed on a history page (since this also uses RevisionHandler).
AC
- Create a job that will log access to ip information (we opt for a job because we shouldn't write on the GET request) - done in T300825
- If the RevisionHandler should return information about an IP, log it using the created job
Spec
- When a user views the IP Info accordion, 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
- Data context of the information (infobox or popup)
- 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 (see more up-to-date versions at T295017):
User:A viewed limited IP Information accordion for 1.1.1.1 at October 22, 11:25 UTC
User:B viewed full IP Information accordion for 1.2.3.4 at October 28, 00:04 UTC

