Duplicate client-side logs in site dashboard

When I use console.log() on the client-side I’m getting from 2-6 duplicates of the same log (albeit with slightly delayed timestamps) on the real-time Site Events page on the site dashboard.

My reproduce is simple. I have a button event handler which calls a server-side web module. The console.log() in the client-side button handler appears in the dashboard twice and sometimes up to 6 times. It appears only once in the Chrome console. The console.log() in the server-side web module also appears only once. So there seems to be a bug in how the client-side console.log() messages are being ferried to the site dashboard. It scared me because I was worried that I was calling my server-side web modules multiple times.

Anyone else seen this?

1 Like