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

Quickstart should talk about application logs rather than Spin debug logs #1459

Closed
lann opened this issue Jan 23, 2025 · 0 comments · Fixed by #1464
Closed

Quickstart should talk about application logs rather than Spin debug logs #1459

lann opened this issue Jan 23, 2025 · 0 comments · Fixed by #1464

Comments

@lann
Copy link
Contributor

lann commented Jan 23, 2025

Currently the quickstart talks about how to get Spin internal debug logs but doesn't mention application logs.

If you would like to see what Spin is doing under the hood, set the RUST_LOG environment variable for detailed logs, before running `spin up`:
<!-- @selectiveCpy -->
```bash
$ export RUST_LOG=spin=trace
```
> The variable is `RUST_LOG` no matter what language your application is written in, because this is setting the log level for Spin itself.

This is good to document somewhere but probably not critical in a quickstart flow. Consider replacing with some info about application logs, along the lines of "stdio from your app will be printed in the terminal by default".

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

Successfully merging a pull request may close this issue.

1 participant