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

Add a way to consume sandbox specific logs via CLI #325

Open
mlejva opened this issue Mar 3, 2024 · 1 comment
Open

Add a way to consume sandbox specific logs via CLI #325

mlejva opened this issue Mar 3, 2024 · 1 comment
Labels
CLI Created by Linear-GitHub Sync feature

Comments

@mlejva
Copy link
Member

mlejva commented Mar 3, 2024

There's no way to inspect logs for a specific sandbox at the moment. Eventually, there'll be way to inspect logs in our dashboard.

In the meantime, we can build a way to consume logs via our CLI much faster.

How it would work

Running the following command:

e2b sandbox logs <sandbox-id>

will display a live stream of logs coming from the sandbox. If the sandbox is already killed, it's still a stream but no new logs are coming in.

Questions

  • How to filter logs based on a date range?
  • How much into the past can logs go?
@mlejva mlejva added feature CLI Created by Linear-GitHub Sync labels Mar 3, 2024
@mlejva
Copy link
Member Author

mlejva commented Mar 7, 2024

Related PR #327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Created by Linear-GitHub Sync feature
Projects
Status: 🚧 Working on it
Development

No branches or pull requests

1 participant