replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

Kevin Fenzi 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:

...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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20121010/2ab6f3b8/attachment.sig>


More information about the devel mailing list