This came up on IRC, in context of T322357 and upgrading doc1002 from PHP 7.3 to PHP 7.4+. Krinkle wanted to check for errors in php-fpm logs on doc machines but did not have shell access to do so.
That made me think we also want to ship those to Logstash, just like we have tickets to do that for other services that don't have it yet.
Semi-relatedly there is a question about the log levels, because currently there is:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
But in this case we do NOT want to exclude DEPRECATED, while most of the time we did want to exclude it.
That is a little unrelated though. This ticket should focus on shipping the logs we want by default to logstash so users without shell can look at them.