Debug SDK Code

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

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

Use the Filter input to filter the logs by key terms, and select from the Levels drop-down 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.