Releases: jenkinsci/syslog-java-client
Releases · jenkinsci/syslog-java-client
1.1.8
💥 Breaking changes
- Publish to Maven Central under a new group ID:
io.jenkins.lib:syslog-java-client
- Require Java 17 or newer
🐛 Bug fixes
- Prevent NPE in
TcpSyslogMessageSender#close
by @AmirWiener in #83
👻 Maintenance
- Update POM and add CI build by @basil in #51
- Miscellaneous code cleanup by @basil in #57
- Refresh component by @basil in #77
- Update hamcrest by @NotMyFault in #104
- Update build by @basil in #179
🚦 Tests
- Migrate tests to JUnit5 by @strangelookingnerd in #181
New Contributors
- @basil made their first contribution in #51
- @dependabot made their first contribution in #46
- @NotMyFault made their first contribution in #104
- @strangelookingnerd made their first contribution in #181
- @AmirWiener made their first contribution in #83
Full Changelog: syslog-java-client-1.1.7...syslog-java-client-1.1.8
syslog-java-client-1.1.7
- Support user provided SSLContext
syslog-java-client-1.1.6
syslog-java-client-1.1.4
syslog-java-client-1.1.3
- Fix #23 "Priority calculation wrong for rfc3164" thanks to @SpyrosPac
syslog-java-client-1.1.2
- #19 NullPointerException in
com.cloudbees.syslog.sender.TcpSyslogMessageSender#toString()
syslog-java-client-1.1.1
- Fix #17 Fix the list of reserved SD-ID's.
syslog-java-client-1.1.0
- Make it configurable to end messages with CR LF for TCPSender thanks to @jasonparallel
tcpSyslogMessageSender. setPostfix("\r\n"); // \r\n is the default, can be overridden
-
Modified Facility to use digits 0 - 23 instead of multiplied by 8, to conform with syslog spec thanks to @dhsmith1001
-
Add support for structured data thanks to @bbergquist0930
SyslogMessage message = new SyslogMessage()
.withTimestamp(cal.getTimeInMillis())
.withAppName("my_app")
.withHostname("myserver.example.com")
.withFacility(Facility.USER)
.withSeverity(Severity.INFORMATIONAL)
.withTimestamp(cal.getTimeInMillis())
.withMsg("a syslog message")
.withSDElement(
new SDElement(
"exampleSDID@32473",
new SDParam("iut", "3"),
new SDParam("eventSource", "Application"),
new SDParam("eventID", "1011")));