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

@DragonFSKY DragonFSKY commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Fixes #4238.

Defaults the Log4j 1 SyslogAppender bridge protocol to UDP for XML and properties configurations, matching Log4j 1 behavior. Explicit protocol values remain unchanged.

Also documents protocol as a log4j-1.2-api extension and why stream transports are not recommended with Log4j1SyslogLayout.

Verification:

  • ./mvnw verify

@DragonFSKY
DragonFSKY force-pushed the fix-4238-syslog-default-udp branch from 9796eb6 to 80d92b3 Compare August 26, 2026 04:57
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