Flow Heartbeat BrowserSession

Hi,
in my test app i have debug logging active and see entries like below every 5 minutes. I think its the vaadin heartbeat to let the session be active, how can i verify it and how could i supress this log even having degug enabled? Looking forward to any hint

2025-05-17T00:48:50.609Z DEBUG 39 --- [http-nio-80-exec-10] o.s.security.web.FilterChainProxy        : Securing GET /
2025-05-17T00:48:50.610Z DEBUG 39 --- [http-nio-80-exec-10] o.s.s.w.savedrequest.CookieRequestCache  : saved request doesn't match
2025-05-17T00:48:50.610Z DEBUG 39 --- [http-nio-80-exec-10] o.s.s.w.a.AnonymousAuthenticationFilter  : Set SecurityContextHolder to anonymous SecurityContext
2025-05-17T00:48:50.612Z DEBUG 39 --- [http-nio-80-exec-10] s.w.a.DelegatingAuthenticationEntryPoint : Trying to match using com.vaadin.flow.spring.security.VaadinWebSecurity$$Lambda/0x0000755dfc89d0d8@648ec9f4
2025-05-17T00:48:50.612Z DEBUG 39 --- [http-nio-80-exec-10] s.w.a.DelegatingAuthenticationEntryPoint : Trying to match using any request
2025-05-17T00:48:50.612Z DEBUG 39 --- [http-nio-80-exec-10] s.w.a.DelegatingAuthenticationEntryPoint : Match found! Executing org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint@2c2ecf5
2025-05-17T00:48:50.612Z DEBUG 39 --- [http-nio-80-exec-10] o.s.s.web.DefaultRedirectStrategy        : Redirecting to https://my-domain/login

What do you mean by “how do I verify it”?

For the logging, assuming you are using Springboot, you can configure
the logging in your configuration, which usually is application.yml.

E.g. this tones down the chatter from /athmosphere/:

logging:
  level:
    org.atmosphere.cpr: warn

With Springboot, there is a generic -debug switch for your Main to
make everything debug; if this is the case, don’t use it.

Otherwise find out the package/class you want to change. The packages
are shortened in your example. So use your IDE to find the classes and
work your way up from there.

E.g. o.s there means org.springframework.

2 Likes