logs CLI command reference

Detailed information on the logs CLI command


Gets Dapr sidecar logs for an app in Kubernetes


dapr logs [flags]


Name Environment Variable Default Description
--app-id, -a The app id for which logs are needed
--help, -h Help for logs
--kubernetes, -k true only works with a Kubernetes cluster (default true)
--namespace, -n default (optional) Kubernetes namespace in which your application is deployed. default value is ‘default’
--pod-name, -p (optional) Name of the Pod. Use this in case you have multiple app instances (Pods)
Last modified November 20, 2020: Revert commands for 0.11 (#947) (904c3d3)