springcloud-community / springcloud-comment

0 stars 0 forks source link

post/2022-03/springboot-websocket-log/ #18

Open utterances-bot opened 11 months ago

utterances-bot commented 11 months ago

Monitoring spring boot application logs online via WebSocket - Spring Cloud

This article will teach you how to monitor spring boot application's live logs online via websocket.

https://www.springcloud.io/post/2022-03/springboot-websocket-log/

wiktor-maruszewski commented 11 months ago

Thank you very much for this article!! <3 Do you have any tutorials on how to create websocket chat?

zarnocha commented 11 months ago

It finally works as it should! Very good article, thanks for your service!

KevinBlandy commented 11 months ago

It finally works as it should! Very good article, thanks for your service!

I'm glad this article could help you.

KevinBlandy commented 11 months ago

Thank you very much for this article!! <3 Do you have any tutorials on how to create websocket chat?

Thanks for the suggestion, I'll take it into consideration.

wiktor-maruszewski commented 11 months ago

Unfortunately this solution doesn't work in Spring Boot 5.11 :( When trying to test it, it throws an error regarding javax. I replaced it with jakarta, but logs are not appearing. @KevinBlandy do you know how to convert this to newer version?

KevinBlandy commented 11 months ago

Unfortunately this solution doesn't work in Spring Boot 5.11 :( When trying to test it, it throws an error regarding javax. I replaced it with jakarta, but logs are not appearing. @KevinBlandy do you know how to convert this to newer version?

The latest version of Spring Boot is 3.x. Where did 5.11 come from?

I'd like to see your exception stack information if possible.

dandal71 commented 5 months ago

Thank for your article. I have a problem with the CHANNELS hashmap. When the push method is called I have a instance of the CHANNELS map, but when the open method is calle I have another instance. I don´t know the reason. Thanks