Skip to content

Commit

Permalink
Add file logger option to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentaTomas committed May 9, 2024
1 parent 5b47f90 commit 837a326
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/green-readers-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@e2b/cli": patch
---

Add file logger option
2 changes: 1 addition & 1 deletion apps/docs/src/app/cli/commands/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ You can use `e2b sandbox list` to get a list of running sandboxes and their IDs
Default value is `pretty`.
</Option>
<Option name="loggers" type="--loggers">
Specify enabled loggers — allowed values are `process`, `filesystem`, `terminal`, `network`.
Specify enabled loggers — allowed values are `process`, `filesystem`, `terminal`, `network` and `file`.
You can specify multiple loggers by separating them with a comma.
Default value is `process,filesystem`.
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/commands/sandbox/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ enum LoggerService {
FILESYSTEM = 'filesystem',
TERMINAL = 'terminal',
NETWORK = 'network',
FILE = 'file',
}


Expand Down

0 comments on commit 837a326

Please sign in to comment.