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

Configure maximum logging level #253

Closed
assambar opened this issue Nov 21, 2023 · 1 comment · Fixed by webassemblylabs/wasm-workers-server#1
Closed

Configure maximum logging level #253

assambar opened this issue Nov 21, 2023 · 1 comment · Fixed by webassemblylabs/wasm-workers-server#1

Comments

@assambar
Copy link
Contributor

assambar commented Nov 21, 2023

Is your feature request related to a problem? Please describe.

Sometimes (e.g. when deploying) we may not want to have detailed logging at the console.

Describe the solution you'd like

Add an option --log-level,l={trace|debug|info|warn|error|off}, passed on start of wws, which will determine the minimum logging level for the application.

Default would be info.

If there is a set RUST_LOG env variable and --log-level is not specified - do not set anything, just let RUST_LOG be.

Describe alternatives you've considered

No response

Additional context

No response

@assambar assambar changed the title Add option to reduce logged output Configure maximum logging level Nov 21, 2023
@Angelmmiguel
Copy link
Contributor

Related to #252

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