Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I turn off logging in rsbuild? #3162

Open
5 tasks done
douglaszaltron opened this issue Nov 3, 2024 · 8 comments
Open
5 tasks done

How do I turn off logging in rsbuild? #3162

douglaszaltron opened this issue Nov 3, 2024 · 8 comments

Comments

@douglaszaltron
Copy link

douglaszaltron commented Nov 3, 2024

Describe the bug

How do I turn off logging in rsbuild? I'm trying to set FEDERATION_DEBUG in the .env file, but it doesn't seem to work. It keeps printing the logs.

Reproduction

Captura de Tela 2024-11-03 às 17 04 45

not reproduction

Used Package Manager

pnpm

System Info

version: "@rsbuild/plugin-react": "^1.0.6",

Validations

@KyrieLii
Copy link
Member

KyrieLii commented Nov 5, 2024

You can check if there is FEDERATION_DEBUG in the browser's local storage.

@douglaszaltron
Copy link
Author

@KyrieLii Yes, I checked, and there are none.
However, even when I set FEDERATION_DEBUG to false in the browser storage, it still doesn't disable the logs.

@KyrieLii
Copy link
Member

KyrieLii commented Nov 6, 2024

@douglaszaltron What are the versions of @module-federation/*** ? or can you provide a minimal reproducible demo?
I checked the latest version and didn't find this issue, there is a related pr #3121 (released in v0.6.14

@2heal1
Copy link
Member

2heal1 commented Nov 6, 2024

Have you used or installed @module-federation/bridge-react ?

@minhhieu76qng
Copy link

Could you fix this issue asap? @ScriptedAlchemy @2heal1
We are starting to use Module Federation and React bridge to our production apps.
But there's a bunch of info logs.
Thank you.

@ScriptedAlchemy
Copy link
Member

Send a pull request and it'll be merged tomorrow.
Otherwise I'll look at it next week

@minhhieu76qng
Copy link

I will take a look now.

@minhhieu76qng
Copy link

I open a pull request.
You can check it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants