Replies: 3 comments
-
Hi, Bouncy Castle is basically infrastructure, and it is important that we stick as much as possible to using what is in the standard libraries because we cannot make assumptions concerning how people may use BC. With that in mind I do not support adding SLF4J to BC. MW |
Beta Was this translation helpful? Give feedback.
-
Yep, sorry but this is not going to happen. We can't afford to introduce external dependencies. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the very fast reply! This sounds like a legit reason for stick to JUL. For the minority of projects who still do not use logging this is fine, because they just need BC not no other dependency. I have just noticed that you support JDK 1.1 (from 1997!). That's really impressive. SLF4J doesn't support such old JDKs at all, so that's probably another reason to stick with JUL. Further readings: |
Beta Was this translation helpful? Give feedback.
-
How about migrating from java.util.logging (JUL) to SLF4J in Bouncy Castle Java (BC)?
I use BC in one of my projects and had to use the jul-to-slf4j bridge to hide certain logs of BC. Not a big deal, but all other dependencies either use no logging at all or SLF4J. So get rid of the jul-to-slf4j bridge in my project would be cool.
I also noticed some improvements when using SLF4J and Logback:
Beta Was this translation helpful? Give feedback.
All reactions