replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]
Lennart Poettering
mzerqung at 0pointer.de
Tue Oct 9 21:26:19 UTC 2012
On Tue, 09.10.12 14:57, Chris Murphy (lists at colorremedies.com) wrote:
>
> On Oct 9, 2012, at 11:20 AM, Lennart Poettering wrote:
>
> > On Tue, 09.10.12 15:35, Bryn M. Reeves (bmr at redhat.com) wrote:
> >> Setting PIPE or piping to a pager is even worse - the lines are
> >> truncated at 77 chars regardless of the term width so for now I'm
> >> running journalctl --no-pager -a | less to get wrapped lines in a
> >> pager.
> >
> > Fixed in F18.
>
>
> Not for me. I get one result for the first command, and 20+ for the second:
>
> journalctl | grep btrfs
> cat /var/log/messages | grep btrfs
>
> systemd-194-1.fc18.x86_64
Well, you have to actually enable the journal on persistent storage
first. Try "mkdir /var/log/journal". Without that we will only keep a
very small set of logs in RAM, so that things are flushed out quickly.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the devel
mailing list