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

Please expose len X in haproxy log lines. #314

Closed
zapman449 opened this issue Mar 11, 2019 · 5 comments
Closed

Please expose len X in haproxy log lines. #314

zapman449 opened this issue Mar 11, 2019 · 5 comments
Milestone

Comments

@zapman449
Copy link

We leverage JSON logs to kick out structured values via haproxy -> rsyslog -> LOGGING_INFRA. Recently we noticed haproxy truncating some log-entries.

Could we expose a configmap entry akin to syslog-endpoint and syslog-format to manage syslog-length, which would default to the standard default of 1024, but allow users to specify longer lines if required?

Current (GROSS) work-around: specify syslog-endpoint as 127.0.0.1:514 len 2048 to shim the magic haproxy value in.

Upstream docs: https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#3.1-log

@jcmoraisjr
Copy link
Owner

Sure we can - added to v0.8 backlog.

@jcmoraisjr jcmoraisjr added this to the v0.8 milestone Mar 23, 2019
@jhohertz
Copy link

Looks like it was added in #396?

@jcmoraisjr
Copy link
Owner

Hi, yep, but v0.9 only which will have its first snapshot tag in a few days.

@jcmoraisjr
Copy link
Owner

v0.9-snapshot.1 now has syslog-length configmap option, updating doc soon.

@jcmoraisjr jcmoraisjr modified the milestones: v0.8, v0.9 Oct 27, 2019
@jcmoraisjr
Copy link
Owner

Doc also updated. Closing.

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

3 participants