Operations
Manage your Sparrow Home operations, including how to view and manage your logs, and how to troubleshoot common issues.
Logs
Logs preview
Each docker container has a log file. You can view the logs of each container by running the following command in your terminal:
| Container | Log file |
|---|---|
| Frontned | docker logs -f docker-frontent-1 |
| Backend | docker logs -f docker-backend-1 |
| Zigbee2MQTT | docker logs -f docker-zigbee2mqtt-1 |
| mosquitto | docker logs -f docker-mosquitto-1 |
| postgresql | docker logs -f docker-postgres-1 |
The -f
flag will follow the log file and print new lines as they are added. You can remove the -f
flag to view the log file without following it.