Add a handy command to the readme that checks the logs in a dockerized environment.

This commit is contained in:
Ivaylo Novakov 2020-08-18 18:36:00 +03:00
parent 221902508f
commit 2a1c06116b
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 3 additions and 1 deletions

View File

@ -104,8 +104,10 @@ At this point we have almost everything running, we just need to set up your wal
> `docker exec caddy caddy reload --config /etc/caddy/Caddyfile`
- Restarting nginx gracefully after making changes to nginx configs
> `docker exec nginx openresty -s reload`
- Checking siad service logs (follow last 50 lines)
- Checking siad service logs (follow last 50 lines) in non-dockerized environments
> `journalctl -f -n 50 --user-unit siad`
- Checking siad service logs (last hour) in dockerized environments
> `docker logs --since 1h $(docker ps -q --filter "name=^sia$")`
- Checking caddy logs (for example in case ssl certificate fails)
> `docker logs caddy -f`
- Checking nginx logs (nginx handles all communication to siad instances)