# mesheryctl-system-logs

LLMS index: [llms.txt](/llms.txt)

---

# 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'>
<div class='clipboardjs'>
mesheryctl system logs [flags]

</div>
</div>
</pre> 

## Examples

Show logs (without tailing)
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system logs

</div>
</div>
</pre> 

Starts tailing Meshery server debug logs (works with components also)
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system logs --follow

</div>
</div>
</pre> 

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

</div>
</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 "~/.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](/reference/mesheryctl/), if you want to add content manually to the CLI documentation, please refer to the [instruction](/project/contributing/cli/cli/#documenting) for guidance.
