Debug SDK Code

Read and filter a machine’s logs to view updates from your machine’s viam-server instance and troubleshoot issues with your program.

Navigate to the Logs tab of your machine’s page in the Viam app.

Use the Filter input to filter the logs by key terms, and select from the Levels dropdown menu to filter the logs by warning level:

Filtering by log level of info in the logs tab of the Viam app.

sudo journalctl --unit=viam-server
cat $(brew --prefix)/var/log/viam.log


Have questions, or want to meet other people working on robots? Join our Community Discord.

If you notice any issues with the documentation, feel free to file an issue or edit this file.