kubevela.github.io/docs/cli/vela_logs.md

43 lines
1016 B
Markdown

---
title: vela logs
---
Tail logs for application.
### Synopsis
Tail logs for vela application.
```
vela logs [flags]
```
### Options
```
--cluster string filter the pod by the cluster name
-c, --component string filter the pod by the component name
--container string specify the container name
-e, --env string specify environment name for application
-h, --help help for logs
-n, --namespace string specify the Kubernetes namespace to use
-o, --output string output format for logs, support: [default, raw, json] (default "default")
-p, --pod string specify the pod name
```
### Options inherited from parent commands
```
-V, --verbosity Level number for the log level verbosity
-y, --yes Assume yes for all user prompts
```
### SEE ALSO
#### Go Back to [CLI Commands](vela.md) Homepage.
###### Auto generated by [spf13/cobra script in KubeVela](https://github.com/kubevela/kubevela/tree/master/hack/docgen).