canonical / canonical/postgresql-operator
docs: document a way to look at the logs
Open
- Dominant language
- Python
- Stars
- 20
- Forks
- 36
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 30
Description
The logs are not easily accessible (see #779). You should provide some commands in the troubleshooting section to look at recent logs (since one does not always have a working log aggregation set up).
E.g.:
```
ls -rt /var/snap/charmed-postgresql/common/var/log/patroni | tail -100 | xargs -I{} cat /var/snap/charmed-postgresql/common/var/log/patroni/{}
```
---
*Reported from: https://canonical-charmed-postgresql.readthedocs-hosted.com/14/reference/troubleshooting/cli-helpers/*
Contributor guide
Assessment
This issue has not been assessed yet.