-
Notifications
You must be signed in to change notification settings - Fork 38.1k
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
Defer creating logger in StandardWebSocketHandlerAdapter #25427
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged or decided on
label
Jul 20, 2020
Superseded by #25428 |
rstoyanchev
added
status: superseded
An issue that has been superseded by another
and removed
status: waiting-for-triage
An issue we've not yet triaged or decided on
labels
Jul 20, 2020
Reopening it for a change towards a non-static logger field, as suggested on the PR. |
jhoeller
changed the title
Defer creating StandardWebSocketHandlerAdapter.logger to avoid early log4j2 initializing
Defer creating logger in StandardWebSocketHandlerAdapter
Jul 20, 2020
jhoeller
added
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
and removed
status: superseded
An issue that has been superseded by another
labels
Jul 20, 2020
spring-projects-issues
added
status: backported
An issue that has been backported to maintenance branches
and removed
for: backport-to-5.1.x
labels
Jul 20, 2020
FelixFly
pushed a commit
to FelixFly/spring-framework
that referenced
this issue
Aug 16, 2020
zx20110729
pushed a commit
to zx20110729/spring-framework
that referenced
this issue
Feb 18, 2022
…tion time Closes spring-projectsgh-25427 (cherry picked from commit 64f4703)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
It's similar to #23655
Open Liberty will load class
org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter
before starting of application, it trigger log4j2 initialization before web application initialization, system property lookup will not using value set atWebApplicationInitializer::onStartup
.here is stack trace:
The text was updated successfully, but these errors were encountered: