SLF4J and http4k-client-websocket
See original GitHub issueSteps to reproduce:
- add dependencies:
implementation(group: "org.http4k", name: "http4k-core", version: "3.226.0")
implementation(group: "org.http4k", name: "http4k-server-jetty", version: "3.226.0")
implementation(group: "org.http4k", name: "http4k-client-websocket", version: "3.226.0")
- write simple main
fun main() {
websockets(
"/ws" bind { ws: Websocket -> }
).asServer(Jetty(8080)).start()
}
Output from console:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
If you remove http4k-client-websocket
dep, then logging works.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
http4k Client Modules
http4k supplies both blocking and non-blocking Websocket clients. The former is perfect for integration testing purposes, and as it uses the same interface ......
Read more >http4k/versions.properties at master · http4k/http4k · GitHub
The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and ... version.org.eclipse.jetty.websocket..websocket-jetty-client=11.0.12.
Read more >Komparing Kotlin Server Frameworks - JetBrains
What apps/clients talk to so that users can. ➔ Read dynamic data ... Kotlin, DSL, Websockets, HTTP/2, ... Spring. Http4K. Ratpack. Frameworks. Micronaut ......
Read more >Easily Update and Reload SSL for a Server and an HTTP Client
However, every server or HTTP client which uses a SSLContext , SSLServerSocketFactory ... SSLFactoryUtils; import org.slf4j.
Read more >firefly Alternatives - Kotlin Web | LibHunt
The Functional toolkit for Kotlin HTTP applications. http4k provides a ... Writing HTTP clients and servers; Writing WebSocket clients and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep - it’s quite an annoying warning TBH, but we do want to avoid having a dependency on any implementation, so closing this unless we think there’s anything else to add. 😃
Sorry about that. So in the end I’d have to add this dep to my project, even if I don’t use it directly?