Back to Meshery

mesheryctl-system-logs

docs/content/en/reference/mesheryctl/system/logs.md

1.0.181.5 KB
Original Source

mesheryctl system logs

Print logs

Synopsis

Print history of Meshery's logs and begin tailing them.

It also shows the logs of a specific component.

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system logs [flags] </div> </pre>

Examples

Show logs (without tailing)

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system logs </div> </pre>

Starts tailing Meshery server debug logs (works with components also)

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system logs --follow </div> </pre> <pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system logs meshery-istio </div> </pre>

Options

<pre class='codeblock-pre'> <div class='codeblock'> -f, --follow (Optional) Follow the stream of the Meshery's logs. Defaults to false. -h, --help help for logs </div> </pre>

Options inherited from parent commands

<pre class='codeblock-pre'> <div class='codeblock'> --config string path to config file (default "/home/runner/.meshery/config.yaml") -c, --context string (optional) temporarily change the current context. -v, --verbose verbose output -y, --yes (optional) assume yes for user interactive prompts. </div> </pre>

See Also

Go back to command reference index, if you want to add content manually to the CLI documentation, please refer to the instruction for guidance.