Page MenuHomePhabricator

Log filename in shellbox-video httpd
Open, Needs TriagePublic

Description

Currently we emit log lines like this in the shellbox httpd sidecar:

{"timestamp": "2024-06-27T13:26:23", "RequestTime": "REQ_TIME", "Connect-IP": "127.0.0.1", "Handle/Status": "proxy:fcgi://127.0.0.1:9000/200", "ResponseSize": "SIZE", "Method": "POST", "Url": "http://localhost:6036/shell/tmh-ffmpegencode", "MimeType": "multipart/mixed", "Referer": "-", "X-Forwarded-For": "-", "User-Agent": "MediaWiki/1.43.0-wmf.11", "Accept-Language": "-", "X-Analytics": "-", "User": "-", "UserHeader": "-", "X-Request-Id": "REQ_ID", "X-Client-IP": "-"}

For a service that operates on files alone, and also given many of the historical issues we've had with tracking down which instance is encoding which video file, having the filename logged in these lines is somewhat essential.

Related Objects