cloudflare / cloudflare/lua-resty-logger-socket

Buffering should be disabled when using UDP

Open
#26 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Raku
Stars
493
Forks
128
PR merge metrics
No merged PRs in 30d

Description

When udp is enabled then buffering does not make sense (if I understand RFC correctly: https://tools.ietf.org/html/rfc5426#section-3.1).

Multiple log messages are merged on syslog side, since UDP syslog server treats them as one line:

> Jun 4 11:27:17 localhost nginx[47871]: Hello World!#012<135>Jun 04 11:27:19 localhost nginx[47871]: Hello World!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.