Get Dapr sidecar logs for an application.
dapr logs [flags]
Name | Environment Variable | Default | Description |
---|---|---|---|
--app-id , -a | The application id for which logs are needed | ||
--help , -h | Print this help message | ||
--kubernetes , -k | true | Get logs from a Kubernetes cluster | |
--namespace , -n | default | The Kubernetes namespace in which your application is deployed | |
--pod-name , -p | The name of the pod in Kubernetes, in case your application has multiple pods (optional) |
dapr logs -k --app-id sample --pod-name target --namespace custom