wasmCloud / wadm

wasmCloud Application Deployment Manager (wadm) is a Wasm-native orchestrator for managing and scaling declarative wasmCloud applications.
https://wasmcloud.com
Apache License 2.0
108 stars 28 forks source link

Wadm missing log-level configuration #450

Open peter-jerry-ye opened 1 month ago

peter-jerry-ye commented 1 month ago

It would be great if wadm can have a log level configuration just as wasmcloud host so that debug messages can be printed.

Also, the values.yaml in the chart seem to have that configuration at wadm.config.logLevel, which is a bit misleading.

brooksmtownsend commented 1 month ago

Ah yep here we've used RUST_LOG as the log level directive, just hooking into the native Rust support. I think it would be more clear to have a log level flag/env var.

Looks like there's a separate issue but related in fixing the helm chart to use the wadm.config.logLevel value as a RUST_LOG environment variable, or the flag once implemented.