v1 Command Reference
porter logs
Prerequisites
-
You’ve logged in to the Porter CLI after running porter auth login
-
You’re connected to the correct project by running porter config set-project
-
You’re connected to the correct cluster by running porter config set-cluster
porter logs
logs the output from a given application. If an application has multiple instances, you will be prompted to select the instance. If you would like to tail logs from an application, run the command with the --follow
flag:
To locate an application in a different namespace, run with the --namespace
flag: