Skip to content

Instantly share code, notes, and snippets.

@glasser
Created November 16, 2017 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glasser/3929944743d629b975e311ba3e499f52 to your computer and use it in GitHub Desktop.
Save glasser/3929944743d629b975e311ba3e499f52 to your computer and use it in GitHub Desktop.
systemd 229
Nov 16 20:24:47 ip-10-0-1-225 systemd-journald[1094]: Suppressed 1355 messages from /system.slice/docker.service
ubuntu@ip-10-0-1-225[i-05add845efb29b6dd] 0 ~$ journalctl -S '20:24:30' -U '20:24:50' -u docker -o json | wc -l
27090
ubuntu@ip-10-0-1-225[i-05add845efb29b6dd] 0 ~$ cat /etc/systemd/journald.conf
[Journal]
# General options
Storage=persistent
Compress=yes
Seal=yes
SyncIntervalSec=30sec
MaxLevelStore=debug
# Rate limiting
RateLimitInterval=10s
RateLimitBurst=50000
# Disk usage
SystemMaxUse=14G
SystemKeepFree=3G
# Rotation
SystemMaxFileSize=100M
SystemMaxFiles=1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment