Commit b248d54
committed
Add --stream-logs flag to run-errand command
This will use SCP to copy a specific log file
(/var/vcap/sys/log/ERRAND-NAME/errand.log) from the running errand
instances and print the new lines on a given interval (default: 30s).
In the case of multiple-instance errands, their outputs will be
interleaved when streaming.
The standard errand Stdout summary will be suppressed when streaming.
ai-assisted=yes1 parent 67eaebd commit b248d54
File tree
12 files changed
+1248
-18
lines changed- cmd
- opts
- director
- directorfakes
- ssh
12 files changed
+1248
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
719 | 723 | | |
720 | 724 | | |
721 | 725 | | |
| |||
0 commit comments