Mastering Log Rotation in Linux with Logrotate
Posted by finallyanonymous@reddit | linuxadmin | View on Reddit | 3 comments
Posted by finallyanonymous@reddit | linuxadmin | View on Reddit | 3 comments
FictionWorm____@reddit
journalctl --disk-usage
journalctl --rotate --vacuum-time=31d
To emulate syslog timestamp format add
--output=short-full
.Flibble21@reddit
This is only for the journal. Logrotate is a versatile programe that can manage any any file that gets written to without management by the app writing to it.
FictionWorm____@reddit
You should include
rsyslogd
in that thread?