Skip to content

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.

@WektorPriv
Copy link
Author

@bukka #18415

@WektorPriv WektorPriv closed this Jun 9, 2025
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