Skip to content

Allow FPM_LOG_BUFFER to be adjusted in conf file, changed the buffer to be dynamically allocated #18328

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

WektorPriv
Copy link

@WektorPriv WektorPriv commented Apr 15, 2025

This is a proposal to fix issue #12302.

@WektorPriv WektorPriv changed the title Fix log limit variable Allow FPM_LOG_BUFFER to be adjusted in conf file, changed the buffer to be dynamically allocated Apr 17, 2025
@WektorPriv
Copy link
Author

@bukka could you please take a look if it's even valid approach, and If yes what steps should I perform next?

@WektorPriv WektorPriv marked this pull request as ready for review April 18, 2025 09:39
@WektorPriv WektorPriv requested a review from bukka as a code owner April 18, 2025 09:39
@bukka
Copy link
Member

bukka commented Apr 19, 2025

Hi, thanks for giving it a try. However it will require a bit different implementation. The idea is to use the same logger as for stdio (zlog) - it will require some changes there but it should give us more robust and performant implementation.

@WektorPriv
Copy link
Author

@bukka, can we then bump the limit to 2048 temporarely and then work on the refactor? Logs in system I am working on are truncated. My options to optimize log format to fit 1024 characters are pretty limited.

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.

2 participants