F20 System Wide Change: No Default Syslog

Lennart Poettering mzerqung at 0pointer.de
Tue Jul 16 11:22:07 UTC 2013


On Tue, 16.07.13 08:34, Frank Murphy (frankly3d at gmail.com) wrote:

> On Mon, 15 Jul 2013 21:53:56 +0000
> "Jóhann B. Guðmundsson" <johannbg at gmail.com> wrote:
> 
> > 
> > Nobody is talking about removing  from the distribution entirely
> > and quite frankly administrators that complain about journal have
> > not actually tried it and experienced the flexibility the journactl
> > gives them it truly is not as bad as some people are trying to make
> > it out to be.
> > 
> 
> I like journalctl, it gives good info.
> 
> but as a test do:
> echo | journalctl -x --no-pager --since-today | mailx -s "Today's
> Journal" user (real isp email ) 

What's the "echo |" supposed to do?

Note that --no-pager is implied if you pipe the command. 

Also note that it's --since=today, not --since-today.

> 
> then do: 
> cat /var/log/messages | mailx -s "/var/log/messages" user (real isp
> email )
> 
> for me it was:
> Journalctl in calws-mail inbox: 5.47mb
> /var/log/messages in claws-mail inbox .58mb 

Well, you added "-x" to the command line, so you get the message
catalogue entries added in. Don't do that, and it is going to be
smaller. Also, note that it's not defined where /var/log/messages is
rotated, but "journalctl --since=today" will give you everything of
today, regardless whether rotated or not.

So, you are comparing *very* different things.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list