Skip to content

PHP-FPM slow log entires should include the request URL #18536

Open
@mondalaci

Description

@mondalaci

Description

To my knowledge, it's not possible to configure PHP-FPM slow logs to contain the full request URL.

This is a major problem for web applications like WordPress that utilize a front-controller pattern, where every URL maps to a single PHP script, such as wordpress/index.php.

As far as I know, cross-referencing slow log timestamps with access log timestamps is the best workaround, which is tedious and impossible for high-traffic sites, as second granularity can be insufficient, and the subsecond timestamps of the slow log and access log may not match.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions