Skip to content

packer: keep only journald logging, cap size, add systemd unit stats - #550

Open
d-helios wants to merge 1 commit into
scylladb:masterfrom
d-helios:packer/journald-only-logging
Open

packer: keep only journald logging, cap size, add systemd unit stats#550
d-helios wants to merge 1 commit into
scylladb:masterfrom
d-helios:packer/journald-only-logging

Conversation

@d-helios

@d-helios d-helios commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Purge rsyslog during image build so logs live only in journald instead of being duplicated into /var/log files.
  • Add a journald.conf.d drop-in capping total journal disk usage at 10G (journald rotates/vacuums automatically once the cap is hit).
  • Enable node_exporter's systemd collector, scoped to vector-store and systemd-coredump.* units, so their state is exposed as metrics.

Refs: CLOUDEVOPS-2151

rsyslog was duplicating journald's logs into /var/log files on the
built image, which serves no purpose since journald already retains
everything. Purge rsyslog and bound journald to 10G total (with
automatic rotation) via a journald.conf.d drop-in.

Also enable node_exporter's systemd collector, scoped to the
vector-store service and systemd-coredump units, so unit state is
visible in metrics.
@d-helios
d-helios requested a review from amnonh August 7, 2026 14:52
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