replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]
kevin at scrye.com
Wed Oct 10 22:50:19 UTC 2012
On Wed, 10 Oct 2012 22:02:26 +0200
Kay Sievers <kay at vrfy.org> wrote:
> On Wed, Oct 10, 2012 at 9:49 PM, Simo Sorce <simo at redhat.com> wrote:
> > 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.
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.
b) journalctl after the daily rotate on the previous days journal.
"This thing might have messed up when I last booted... uptime shows 16
a) Figure out what journal was from 16 days ago by hunting around.
b) journalctl out the one from 16 days ago
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the devel