Skip to content

Explain how to read the logs of a crashed HA pod - #1854

Merged
katarinasupe merged 2 commits into
mainfrom
docs/ha-log-to-stderr
Oct 23, 2026
Merged

katarinasupe merged 2 commits into
mainfrom
docs/ha-log-to-stderr

Conversation

@katarinasupe

@katarinasupe katarinasupe commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

Explains how to read the logs of an HA pod that crashes before its log file can be opened (kubectl logs --previous), and that this needs --also-log-to-stderr=true on every data instance and coordinator. Added to the Kubernetes HA Debugging section, with a FAQ entry that links to it.

The flag is hidden in Memgraph (default false), and the HA chart sets it through commonArgs.{data,coordinators}.logging.also_log_to_stderr (default true). The kubectl commands use the chart's pod and container names; I didn't run them on a cluster.

Also fixes two nearby errors:

  • Clustering FAQ, "Log files are filling up my disk space": said Memgraph doesn't support log retention; it now explains --log-retention-days (and the chart values). Its SET DATABASE SETTING example quoted the setting name in backticks, which fails to parse; it now uses quotes and a cypher fence. Ran it on Memgraph 3.14.0.
  • Kubernetes HA configuration table: commonArgs.{data,coordinators}.logging.log_level defaults to INFO (feat: update default log level to INFO helm-charts#277), not TRACE.

Product PR

None, docs-only change.

@katarinasupe katarinasupe self-assigned this Oct 23, 2026
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Oct 23, 2026 11:13am UTC

Request Review

@katarinasupe
katarinasupe marked this pull request as ready for review October 23, 2026 11:34
@katarinasupe
katarinasupe merged commit 5de69f8 into main Oct 23, 2026
5 checks passed
@katarinasupe
katarinasupe deleted the docs/ha-log-to-stderr branch October 23, 2026 11:34

This branch was successfully deployed

1 active deployment
Preview — e9f8d214 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant