Add an aspire logs [resource resource]
command
#8069
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
We would like the ability for developers, using the
aspire
CLI to be able to executeaspire logs [resource name]
. This would result in the logs that would normally appear in the dashboard appearing in the console log.The problem we need to solve is how does
aspire logs [resource name]
identify and connect to the apphost which is managing the resource.At the moment we have an RPC mechanism where the
aspire
CLI itself listens of a connection on a unix socket (the apphost initiates the connection). Should we reverse the handshake here and connect the other way? Should each app host create a socket in a well known path which the CLI can use the find the right apphost?What security concerns are there here?
The text was updated successfully, but these errors were encountered: