canonical / canonical/postgresql-operator

docs: document a way to look at the logs

Open
#1,568 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.