Skip to content

Commit b25f5fa

Browse files
authored
DOCS-4140: Clarify where logs are (#4444)
1 parent 1ea41c3 commit b25f5fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/manage/troubleshoot/troubleshoot.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ If not follow the steps for the standalone version.
6565
{{< tabs >}}
6666
{{% tab name="Linux" %}}
6767

68+
By default, `viam-server` writes logs to STDOUT and does not store them in a file on your machine.
69+
If you want to store your logs in a file, stop the running `viam-server` instance, and restart it with the `-logfile` option.
70+
6871
1. First check where the `viam-server` binary is and where the machine cloud credentials file for your machine is:
6972

7073
```sh {class="command-line" data-prompt="$" data-output="2"}
@@ -89,6 +92,9 @@ If not follow the steps for the standalone version.
8992
{{% /tab %}}
9093
{{% tab name="macOS" %}}
9194

95+
`viam-server` does not store logs in a file on your machine.
96+
To view logs, stop the running `viam-server` instance, and restart it which will send the logs to STDOUT in the current terminal window.
97+
9298
1. Kill the running `viam-server` instance.
9399
2. Then run `viam-server` with the `-debug` option and pass in your machine cloud credentials file:
94100

0 commit comments

Comments
 (0)