GeezerVison is showing github.com — stop appenders losing or leaking what they write by FreeAndNil · Pull Request #324 · apache/logging-log4net
Conversation
FreeAndNil
commented
Sep 21, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixed
- An oversize event was dropped by the UDP appenders, audit da18b6f-f015
- the socket rejects a payload over 65507 bytes, measured here: 65507 is sent, 65508 fails
- new
MaxDatagramSize, default 65507, configurable from 512
- the event is cut on a character boundary, marked
...[truncated] and reported
- not raisable: IPv6 would carry 20 bytes more, not worth a second limit
- The configurator echoed secret values, audit da18b6f-f042
- a parameter named like a secret is now logged as
*****
- a connection string keeps only the keywords that name the server
- covers internal debugging and the four setter failures, which are written without it
AdoNetAppender's allowlist moved to log4net.Util.Redact and is now shared
- The pickup mail carried an SMTP DATA terminator, audit da18b6f-f037
- the file is read to its end, so the lone dot was delivered as a literal line
- it is gone; body lines stay verbatim and are not dot stuffed
- an agent that expects DATA framing is documented as not a supported consumer
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
FreeAndNil
added a commit
that referenced
this pull request
Sep 21, 2026
- a parameter named like a secret is logged as *****, connection strings keep only the keywords that name the server
- covers internal debugging and the four setter failures, which are written without it
- the AdoNet connection string redaction moves to log4net.Util.Redact and is now shared
FreeAndNil
added a commit
that referenced
this pull request
Sep 21, 2026
- the file is an RFC 822 message, not an SMTP DATA stream, so the terminator
bought nothing
- a logged line that was only a dot was indistinguishable from it and ended the
mail early for any agent honouring it
audit da18b6f-f037
FreeAndNil
changed the title
truncate an oversize UDP datagram instead of losing the event
stop the sinks losing or leaking what they write
Sep 21, 2026
- the socket rejects a payload over 65507 bytes, so the event was lost
- new MaxDatagramSize, default 65507, configurable from 512
- cut on a character boundary, marked with ...[truncated]
- RemoteSyslogAppender uses the same encoder
audit da18b6f-f015
- a parameter named like a secret is logged as *****, connection strings keep only the keywords that name the server
- covers internal debugging and the four setter failures, which are written without it
- the AdoNet connection string redaction moves to log4net.Util.Redact and is now shared
- the file is an RFC 822 message, not an SMTP DATA stream, so the terminator
bought nothing
- a logged line that was only a dot was indistinguishable from it and ended the
mail early for any agent honouring it
audit da18b6f-f037
FreeAndNil
changed the title
stop the sinks losing or leaking what they write
stop appenders losing or leaking what they write
Sep 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 1, 2026
This was referenced Nov 12, 2026
This was referenced Nov 19, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|