You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a play with this today and it doesn't do what we expect it to do. It only works once stream-environment has run for a little bit and connected all the servers up. This is also a pain as you're in an event loop and don't know when to trigger it to close because you're awaiting messages from an unknown number of servers and log files.
If you run list-available in any other context, it only provides the logstream server as available. There might be another hidden websocket server command that can do what we want, but I think the easiest way would be to query the main API itself for logs and then use that as part of a list command:
Right now the list of available log sources to filter is hardcoded:
acquia-logstream/src/LogstreamCommand.php
Line 38 in e6db056
This isn't very future-proof in case log sources change. Additionally, it's possible that not all servers support all log sources.
The logstream API supports a
list-available
command that could be used to get available log sources instead: https://github.com/acquia/logstream#list-available-inboundThe text was updated successfully, but these errors were encountered: