Linux Logrotate Konfigurations-Generator (Aufbewahrung & Komprimierung)
Erstellen Sie produktionsreife /etc/logrotate.d/-Konfigurationsdateien mit täglicher/wöchentlicher Rotation, gzip-Komprimierung, dateext, Größenbeschränkungen und postrotate-Skripten.
/var/log/nginx/*.log {
daily
rotate 14
maxage 30
missingok
notifempty
compress
delaycompress
dateext
dateformat -%Y%m%d
dateyesterday
create 0640 www-data adm
sharedscripts
postrotate
[ -f /var/run/nginx.pid ] && kill -USR1 $(cat /var/run/nginx.pid)
endscript
}Behält bis zu spezifizierten Generationen vor der automatischen Löschung.
Estimated ~85% disk storage savings with background gzip.
Atomic file rotation with new file recreation and custom permissions.
100% Client-Seitige Generierung
Keine Server-Uploads. Ihre Dateipfade, Skripte und Serverdaten verbleiben vollständig im sicheren Browserspeicher.
Vollständige Logrotate-Spezifikation
Umfassende Unterstützung für copytruncate, delaycompress, dateext-Zeitstempel, Größenlimits, sharedscripts und su-Rechte.
Produktionsbereit & Syntaxgeprüft
Sofortige Erstellung von Konfigurationsdateien, 'logrotate -d' Trockenlauf-Prüfungen und automatisierten Shell-Skripten.