Configure maximum size and timespan of journald logs #506

Closed
opened 2023-07-23 10:51:25 +00:00 by raucao · 0 comments
Owner

In /etc/systemd/journald.conf, something like:

# Set the maximum size of the journal logs in bytes
SystemMaxUse=256M

# Set the number of days after which logs will be deleted
MaxRetentionSec=7d

In `/etc/systemd/journald.conf`, something like: ```bash # Set the maximum size of the journal logs in bytes SystemMaxUse=256M # Set the number of days after which logs will be deleted MaxRetentionSec=7d ```
raucao added the
enhancement
label 2023-07-23 10:51:25 +00:00
raucao added this to the 2025/Q2 project 2025-04-22 14:53:39 +00:00
greg was assigned by raucao 2025-04-22 15:09:43 +00:00
greg started working 2025-05-21 08:57:59 +00:00
greg worked for 20 minutes 2025-05-21 09:18:36 +00:00
raucao moved this to Done in 2025/Q2 on 2025-05-21 12:13:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Total Time Spent: 20 minutes
greg
20 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#506
No description provided.