Skip to main content
Version: v4.12 Stable

Retrieve App Instance Logs

Stream deployment logs for an AppInstance. Set the follow query parameter to true to continue streaming as new output is stored. Platform 4.12 doesn't apply the other fields exposed by AppInstanceLogOptions.

App instance log example​

An example App instance log:

apiVersion: management.loft.sh/v1
kind: AppInstanceLog
metadata:
name: my-argo-cd
namespace: p-my-project

App instance log reference​

App instance log (Get)​

Stream the deployment logs for an AppInstance. Append ?follow=true to continue streaming as new output is stored.

Run the following command:

# Exchange my-argo-cd in the url below with the name of the AppInstance
kubectl get --raw "/kubernetes/management/apis/management.loft.sh/v1/namespaces/p-my-project/appinstances/my-argo-cd/log"