You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Pariksit-Dogra (via GitHub)" <gi...@apache.org> on 2025/12/03 09:18:35 UTC

[D] Potential ETA on a newer Log4j release [logging-log4j2]

GitHub user Pariksit-Dogra created a discussion: Potential ETA on a newer Log4j release

Hi Log4j Team, Hope you are doing well. I was curious if there is a release calendar in place or potential timeline for the next log4j-core release as I am particularly interest in the merged fix for this issue: [3947](https://github.com/apache/logging-log4j2/issues/3947). Thank you for your hard work and happy holidays!

GitHub link: https://github.com/apache/logging-log4j2/discussions/3993

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@logging.apache.org


Re: [D] Potential ETA on a newer Log4j release [logging-log4j2]

Posted by "vy (via GitHub)" <gi...@apache.org>.
GitHub user vy added a comment to the discussion: Potential ETA on a newer Log4j release

I will cut `2.25.3` in a week or two.

GitHub link: https://github.com/apache/logging-log4j2/discussions/3993#discussioncomment-15161811

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@logging.apache.org


Re: [D] Potential ETA on a newer Log4j release [logging-log4j2]

Posted by "Pariksit-Dogra (via GitHub)" <gi...@apache.org>.
GitHub user Pariksit-Dogra added a comment to the discussion: Potential ETA on a newer Log4j release

Hi @ppkarwasz 

Sorry I missed this message. I wasn't able to test against the snapshot but was able to bump up to 2.25.3. Unfortunately, I am still facing issues. Essentially, I am trying to test the sending of log messages using Syslog over TLS protocol.  My tests work completely fine with TCP but break for a number of reasons (since we've upgraded from JDK17 -> 21). The trust store is being set programmatically along with the 'SSL' protocol. However, I encounter issues whereby you get NPE's for it being unable to initialise the SSL Configuration required:

```
@coroutine#3 ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.SyslogAppender for element Syslog: java.lang.NullPointerException: Cannot invoke "org.apache.logging.log4j.core.net.ssl.SslConfiguration.getKeyStoreConfig()" because "sslConfig" is null
java.lang.NullPointerException: Cannot invoke "org.apache.logging.log4j.core.net.ssl.SslConfiguration.getKeyStoreConfig()" because "sslConfig" is null
```
With an SSL block it 'seems' to work, but that hasn't been required before and as per the log4j docs should still not be required as long as the system variables for the trustStore etc are being set before any appenders are created. As per the code that should be the case. I am not sure if this is a bug or if I'm doing something massively wrong but I've tried a lot of things already. I am happy to raise a bug issue if that would be a better place to discuss this issue further. Thank you 🙇 



GitHub link: https://github.com/apache/logging-log4j2/discussions/3993#discussioncomment-15539556

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@logging.apache.org


Re: [D] Potential ETA on a newer Log4j release [logging-log4j2]

Posted by "Pariksit-Dogra (via GitHub)" <gi...@apache.org>.
GitHub user Pariksit-Dogra added a comment to the discussion: Potential ETA on a newer Log4j release

Thank you :) I've gone ahead and submitted an issue, tried my best to provide a reproduceable test Thank you!

GitHub link: https://github.com/apache/logging-log4j2/discussions/3993#discussioncomment-15548709

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@logging.apache.org


Re: [D] Potential ETA on a newer Log4j release [logging-log4j2]

Posted by "vy (via GitHub)" <gi...@apache.org>.
GitHub user vy added a comment to the discussion: Potential ETA on a newer Log4j release

@Pariksit-Dogra, would you mind submitting an issue and sharing the _minimal_ configuration to reproduce this failure, along with the full stack trace, please? I want to ensure your issue has nothing to do with #4022.

GitHub link: https://github.com/apache/logging-log4j2/discussions/3993#discussioncomment-15541867

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@logging.apache.org


Re: [D] Potential ETA on a newer Log4j release [logging-log4j2]

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
GitHub user ppkarwasz added a comment to the discussion: Potential ETA on a newer Log4j release

Hi @Pariksit-Dogra,

In the meantime, could you try your configuration against the current `2.26.0-SNAPSHOT` to confirm there aren’t any other easy fixes we should address alongside this one (e.g. problems with some characters in the `ThreadContext`)? You can find the snapshots repository URL on our [download page](https://logging.apache.org/download.html).

RFC 5424 layout usage is relatively uncommon (many users unfortunately prefer the unstructured PatternLayout :cry: ), and RFC 5424 servers are designed to be fix minor formatting issues. Still, if there are some formatting problems, we'd better fix them in Log4j.

GitHub link: https://github.com/apache/logging-log4j2/discussions/3993#discussioncomment-15164013

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@logging.apache.org


Re: [D] Potential ETA on a newer Log4j release [logging-log4j2]

Posted by "Pariksit-Dogra (via GitHub)" <gi...@apache.org>.
GitHub user Pariksit-Dogra added a comment to the discussion: Potential ETA on a newer Log4j release

Thank you so much! You are a lifesaver 😭 

GitHub link: https://github.com/apache/logging-log4j2/discussions/3993#discussioncomment-15162879

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@logging.apache.org