On Wed, 10 Oct 2012 22:02:26 +0200 Kay Sievers <kay@xxxxxxxx> wrote: > On Wed, Oct 10, 2012 at 9:49 PM, Simo Sorce <simo@xxxxxxxxxx> wrote: ...snip... > > So make it really better and support time-based rotation. You don't > > need to make time-based rotation the default, but you'll make a lot > > of people happy to have the option. > > I really don't mind someone implementing a "maximum retention policy" > for the journal, surely sounds useful for some setups, but I'm > personally not really interested in implementing it. Note there are more use cases than a "retention policy" type thing in having time based log rotation. "My laptop started acting up last tuesday, I should see whats in the logs from then" a) search each rotated journal file until you find last tuesday. or b) run journalctl on last tuesdays log since it was rotated daily and you can clearly see what one is tuesdays. "I'd like to run a daily report on my logs" a) journalctl out the journal, figure out when the last day started, cut things before that out. or b) journalctl after the daily rotate on the previous days journal. "This thing might have messed up when I last booted... uptime shows 16 days" a) Figure out what journal was from 16 days ago by hunting around. or b) journalctl out the one from 16 days ago kevin
Attachment:
signature.asc
Description: PGP signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel