E2B icon indicating copy to clipboard operation
E2B copied to clipboard

Add CLI command for printing logs from sandbox

Open ValentaTomas opened this issue 2 years ago • 2 comments

This PR adds the CLI command for printing logs for any sandbox you spawned.

Tasks:

  • [x] Add flag for specifying format (json)
    • [x] Update docs
  • [x] Add flag for filtering level
    • [x] Update docs
  • [x] Add flag for "following"
    • [x] Update docs
    • [x] Test
  • [ ] Filter internal and "user" — rename logger field
    • [ ] Test usability
    • [ ] Update docs

ValentaTomas avatar Mar 05 '24 22:03 ValentaTomas

🦋 Changeset detected

Latest commit: 407358f12ac641dfe2284b38bd00bf2bf91d50c1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@e2b/cli Minor
@e2b/python-sdk Minor
e2b Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Mar 05 '24 22:03 changeset-bot[bot]

I'll also check alternative sorting of the log keys to print the message first.

ValentaTomas avatar Apr 05 '24 23:04 ValentaTomas