added remote address to logs
Some checks failed
CI / build (push) Failing after 1s

This commit is contained in:
2025-01-20 20:50:48 +08:00
parent fc9900d821
commit 1e6ece37a5

View File

@@ -304,11 +304,11 @@ class GradleBuildCacheServer(private val cfg: Configuration) {
override fun initChannel(ch: Channel) {
log.debug {
"Created connection ${ch.id().asShortText()}"
"Created connection ${ch.id().asShortText()} with ${ch.remoteAddress()}"
}
ch.closeFuture().addListener {
log.debug {
"Closed connection ${ch.id().asShortText()}"
"Closed connection ${ch.id().asShortText()} with ${ch.remoteAddress()}"
}
}
val pipeline = ch.pipeline()