Skip to content

FPM: Implement configurable access log limit #18725

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bukka
Copy link
Member

@bukka bukka commented May 31, 2025

This is WIP to implement configurable access log limit with use of the current zlog logic

@bukka bukka force-pushed the fpm_access_log_limit branch from 954e18b to abfe22b Compare June 25, 2025 20:44
bukka added a commit to bukka/php-src that referenced this pull request Jun 25, 2025
It sets the access log limit as configurable log_limit to allow larger
log limit than the currently fixed limit of 1024 characters.

Fixes phpGH-12302
Closes phpGH-18725
@bukka bukka marked this pull request as ready for review June 25, 2025 20:44
@bukka bukka marked this pull request as draft June 25, 2025 20:45
@bukka
Copy link
Member Author

bukka commented Jun 25, 2025

The implementation should be working now. I just need to add few more tests to test the larger limit but otherwise it's almost ready.

It sets the access log limit as configurable log_limit to allow larger
log limit than the currently fixed limit of 1024 characters.

Fixes phpGH-12302
Closes phpGH-18725
@bukka bukka force-pushed the fpm_access_log_limit branch from abfe22b to 09b6513 Compare July 20, 2025 19:06
@bukka bukka marked this pull request as ready for review July 20, 2025 19:07
@bukka
Copy link
Member Author

bukka commented Jul 20, 2025

I have done some testing and added extra test for increased log_limit.

There are actually additional limit on URI and query which were quite low so I bumped URI to 512 and query to 2048. This increases a little bit SHM as those are buffers but maybe it should be a bit more.

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

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy