Skip to content

Default protocol to UDP in the Log4j 1 SyslogAppender builder - #4247

Open
DragonFSKY wants to merge 1 commit into
apache:2.xfrom
DragonFSKY:fix-4238-syslog-default-udp
Open

Default protocol to UDP in the Log4j 1 SyslogAppender builder#4247
DragonFSKY wants to merge 1 commit into
apache:2.xfrom
DragonFSKY:fix-4238-syslog-default-udp

Conversation

@DragonFSKY

Copy link
Copy Markdown

Fixes #4238.

This changes the Log4j 1 SyslogAppender bridge default protocol from TCP to UDP for both XML and properties configurations, matching Log4j 1 behavior. Explicit TCP and UDP configurations remain supported.

The migration guide now documents the bridge-specific protocol parameter and the framing limitation for stream transports.

Testing

  • ./mvnw verify -pl :log4j-1.2-api
  • ./mvnw compile
  • ./mvnw site

A full ./mvnw verify run stopped in the unrelated JeroMqAppenderTest because the JeroMQAppender fixture was not created (No appender named JeroMQAppender).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Default protocol to UDP in the Log4j 1 SyslogAppender builder

1 participant