Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mondalaci opened this issue May 11, 2025 · 0 comments
Open

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

mondalaci opened this issue May 11, 2025 · 0 comments

Comments

@mondalaci
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants