Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] syslog-ng: how to read the log files
Date: Mon, 04 May 2015 06:17:36
Message-Id: 87k2wolwab.fsf@heimdali.yagibdah.de
In Reply to: Re: [gentoo-user] syslog-ng: how to read the log files by "Canek Peláez Valdés"
1 Canek Peláez Valdés <caneko@×××××.com> writes:
2
3 > On Sun, Feb 22, 2015 at 6:41 PM, lee <lee@××××××××.de> wrote:
4 >>
5 >> Neil Bothwick <neil@××××××××××.uk> writes:
6 >>
7 >> > On Wed, 18 Feb 2015 21:49:54 +0100, lee wrote:
8 >> >
9 >> >> > I wonder if the OP is using systemd and trying to read the journal
10 >> >> > files?
11 >> >>
12 >> >> Nooo, I hate systemd ...
13 >> >>
14 >> >> What good are log files you can't read?
15 >> >
16 >> > You can't read syslog-ng log files without some reading software,
17 > usually
18 >> > a combination of cat, grep and less. systemd does it all with
19 > journalctl.
20 >> >
21 >> > There are good reasons to not use systemd, this isn't one of them.
22 >>
23 >> To me it is one of the good reasons, and an important one. Plain text
24 >> can usually always be read without further ado, be it from rescue
25 >> systems you booted or with software available on different operating
26 >> systems. It can be also be processed with scripts and sent as email.
27 >> You can probably even read it on your cell phone. You can still read
28 >> log files that were created 20 years ago when they are plain text.
29 >>
30 >> Can you do all that with the binary files created by systemd?
31 >
32 > Yes, you can.
33
34 You can predict the next 20 years?
35
36 >> I can't even read them on a working system.
37 >
38 > If that's true (which I highly doubt, more probably you don't know how to
39 > read them), then it's a bug and should be reported and fixed.
40
41 I read log files with less. The bug is that systemd uses some sort of
42 binary files, and they aren't going to fix it. They even won't fix
43 their misunderstanding of what "disabled" means. So why make bug
44 reports?
45
46
47 --
48 Again we must be afraid of speaking of daemons for fear that daemons
49 might swallow us. Finally, this fear has become reasonable.

Replies

Subject Author
Re: [gentoo-user] syslog-ng: how to read the log files Tom H <tomh0665@×××××.com>