Skip to content

aspire resources --watch is spammy #14405

@davidfowl

Description

@davidfowl

It spams the output when the resource is stopped:

root@ubuntu-g-2vcpu-8gb-sfo2-01:~# aspire resources --watch
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
...

This is a restart of a resource:

root@ubuntu-g-2vcpu-8gb-sfo2-01:~# aspire resources --watch
[cache2] Starting
[cache2] Running (Unhealthy)
[cache2] Running (Unhealthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Stopping - tcp://localhost:35899
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Stopping
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Exited
[cache2] Starting
[cache2] Starting
[cache2] Starting
[cache2] Starting
[cache2] Unknown
[cache2] Unknown
[cache2] Starting
[cache2] Starting
[cache2] Starting
[cache2] Running (Unhealthy)
[cache2] Running (Unhealthy) - tcp://localhost:35899
[cache2] Running (Unhealthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899
[cache2] Running (Healthy) - tcp://localhost:35899

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions