Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

journald configuration

Valery V. Vorotyntsev edited this page May 7, 2020 · 1 revision

Problem definition

Current CentOS versions, which are being installed and configured during re-image procedure, have quite strict limits for log rotation. Normally only last day is recorded. This may be a problem when working with long test runs or doing post-mortem analysis.

To fix this we need to increase limits.

Configuration

  • Edit /etc/systemd/journald.conf. Make sure that following is defined:
    Storage=persistent
    SystemMaxUse=20G
    
  • Restart systemd-journald.
    systemctl restart systemd-journald

Clone this wiki locally