You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2022-08-04 11:50:05,273] INFO [io-compute-0] o.h.b.s.Http1ServerStage$$anon$1:271 - HTTP body not read to completion. Dropping connection.
Log entry claims this is Http1ServerStage from http4s-blaze-server.
Actual logging takes place in Http1Stage:271 from http4s-blaze-core.
Problem is that logger instance gets passed around between components - either by accessing parent class' logger (org.http4s.blaze.pipeline.Stage defines logger that is protected and used in derived classes), or by explicit passing around logger reference (org.http4s.blaze.server.Http1ServerParser).
This is an antipattern which renders the logs much less user-friendly.
The text was updated successfully, but these errors were encountered:
Sample log line:
Log entry claims this is
Http1ServerStage
fromhttp4s-blaze-server
.Actual logging takes place in
Http1Stage:271
fromhttp4s-blaze-core
.Problem is that
logger
instance gets passed around between components - either by accessing parent class' logger (org.http4s.blaze.pipeline.Stage
defines logger that is protected and used in derived classes), or by explicit passing around logger reference (org.http4s.blaze.server.Http1ServerParser
).This is an antipattern which renders the logs much less user-friendly.
The text was updated successfully, but these errors were encountered: