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 sparrow-home-frontend-1 |
| Backend | docker logs -f sparrow-home-backend-1 |
| Zigbee2MQTT | docker logs -f sparrow-home-zigbee2mqtt-1 |
| mosquitto | docker logs -f sparrow-home-mosquitto-1 |
| postgresql | docker logs -f sparrow-home-postgres-1 |
info
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.