Skip to content
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

Offer unlimited log buffer size when scanning handler logs #159

Merged
merged 1 commit into from
Aug 26, 2024

Commits on Aug 26, 2024

  1. Offer unlimited log buffer size when scanning handler logs

    Some users have complained that they cannot log lines longer
    than 16KB. A 16KB log line seems excessive, but this has been
    requested at least 2-3 times over the years.
    
    To enable the feature, set log_buffer_size to -1. This is not
    a default, because it is not as efficient as using a pre-
    determined buffer size.
    
    Tested by running curl with --data-binary and sending a 6.7M
    Go binary into a function with the 16KB maximum log line size
    set. That produced the error, when the size was set to -1, the
    output was written, albeit quite slowly.
    
    Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
    alexellis committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1f02c43 View commit details
    Browse the repository at this point in the history