Page MenuHomePhabricator

Log user-agent in ORES
Closed, ResolvedPublic

Description

Also consider preventing the service of a request with a bunk user agent (not a browser, doesn't have an "@" symbol)

Event Timeline

Halfak claimed this task.
Halfak raised the priority of this task from to Needs Triage.
Halfak updated the task description. (Show Details)
Halfak moved this task to Parked on the Machine-Learning-Team (Active Tasks) board.
Halfak subscribed.

Based on what is routes files in ores. it seems we support precaching in user agent. doesn't we?

We're not reading the user-agent there -- just the query parameter. To read the user-agent, we'll need to look at the headers of each request.

Halfak renamed this task from Log user-agent in ORES (easier to filter out pre-cached) to Log user-agent in ORES.Mar 30 2016, 5:05 PM
Halfak removed Halfak as the assignee of this task.
Halfak updated the task description. (Show Details)
Halfak added a project: ORES.
Halfak moved this task from Unsorted to New development on the Machine-Learning-Team board.

Change 284373 had a related patch set uploaded (by Ladsgroup):
ores: Add logformat It adds user agent and removes req and app logging.

https://gerrit.wikimedia.org/r/284373

Change 284373 merged by Alexandros Kosiaris:
ores: Add logformat

https://gerrit.wikimedia.org/r/284373