Execute a program and streams logs to Redis.
A logstream URL is of the following format: <redis_uri>/<stream_id>
. If a
stream already exists, it'll be appended to.
Producers:
logstream --url=<logstream_url> run echo hey
Consumers:
logstream --url=<logstream_url> follow
The follow
command exits with the exit code of the process.
To append logs but not terminate the stream:
echo "hey" | logstream --url=<logstream_url> append
make release