The documentation you are viewing is for Dapr v1.3 which is an older version of Dapr. For up-to-date documentation, see the latest version.
logs CLI command reference
Detailed information on the logs CLI command
Get Dapr sidecar logs for an application.
dapr logs [flags]
||The application id for which logs are needed|
||Print this help message|
||Get logs from a Kubernetes cluster|
||The Kubernetes namespace in which your application is deployed|
||The name of the pod in Kubernetes, in case your application has multiple pods (optional)|
Get logs of sample app from target pod in custom namespace
dapr logs -k --app-id sample --pod-name target --namespace custom
Last modified November 24, 2021 : Merge pull request #1993 from tanvigour/v1.3 (a919b47)