Closed bbros-dev closed 3 years ago
If you want verbosity, use -v
when you start the Manager and/or the Worker. (Or -g --log-file goose.log
to instead write logs to a file.)
If you don’t want a panic capture the error and handle it in your code.
Note, you can also change the Goose default to be more verbose (so you don't even need to add -v
) with set_default
.
You can see an example of this in this snippet: https://docs.rs/goose/*/goose/trait.GooseDefaultType.html#another-example
We start a web server:
We observe this activity
We start a manager:
We observe no output.
Then in another console we start a worker:
We observe no output.
The web server console shows no output.
We kill the Goose master and observe the worker panic that the master has gone away.
We'd expect some output indicating the status of the master and worker.