-
Notifications
You must be signed in to change notification settings - Fork 38.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate possible use of Java System Logger over Commons Logging API #27810
Comments
I was under impression that the
|
The summary also has this bit:
As far as I know, Spring projects themselves do not require advance logging capabilities, so the bare minimum logging capabilities that is for the JDK's own needs could largely satisfy Spring's uses. In addition, dropping
Regardless, I think a discussion on logging for the next generation of Spring is warranted since the new baseline will be Java 17. |
Which is the main reason for me to open this issue. I can live with either decision To
Although I tentatively agree, the API provided by the |
Any hints maybe whether the team will consider this in not too distant future? Thanks. |
Was looking at issues on Boot and remembered this one. Wondering if those issues could have been avoided entirely if |
At this point, we intend to go with Commons Logging 1.3 as suggested by #32459 - keeping all existing logger API usage intact, just dropping the |
In #19081 (about 5 years ago) a discussion and decision was made on how to approach logging for Spring Framework 5.0.
As the baseline of Spring Framework 6 has been lifted to Java 17 it might be worthwhile to investigate the custom log setup and use the default logging API (
System.getLogger
) provided by the JDK. Or at least have an explicit decision on the usage of that API for future reference.I know that SLF4J (and thus Logback) and Log4j2 have integration for it.
The text was updated successfully, but these errors were encountered: