numerous-whale-53652
08/02/2025, 6:11 AMhigh-flower-44013
08/02/2025, 4:16 PMsetLogLevel('silent'); at root level?
On our project (react app, no Next), we call setLogLevel outside any component function, so it runs as soon as the script bundle is loaded.
In your scenario, I think you need to add it in a file with 'use client', to disable console outputs on the browser.
If you are seeing logs on the server, and want to control those, try adding it to a file that runs on the server.