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:27
Message-Id: 87fv7clvr7.fsf@heimdali.yagibdah.de
In Reply to: Re: [gentoo-user] syslog-ng: how to read the log files by Rich Freeman
1 Rich Freeman <rich0@g.o> writes:
2
3 > On Sun, Feb 22, 2015 at 6:41 PM, lee <lee@××××××××.de> wrote:
4 >>
5 >> To me it is one of the good reasons, and an important one. Plain text
6 >> can usually always be read without further ado, be it from rescue
7 >> systems you booted or with software available on different operating
8 >> systems. It can be also be processed with scripts and sent as email.
9 >> You can probably even read it on your cell phone. You can still read
10 >> log files that were created 20 years ago when they are plain text.
11 >
12 > Doing any of that stuff requires the use of software capable of
13 > reading text files. It isn't like you can just interpret the magnetic
14 > fields on your disk with your eyes.
15
16 Yes, and it doesn't seem very likely that it'll become impossible to
17 read text files in the next 20 years.
18
19 > Sure, there are a lot more utilities that can read text files than
20 > journal files, but you just need to arrange to have them handy.
21 > They'll be ubiquitous before long since every distro around will end
22 > up needing them.
23
24 Hopefully not, systemd is a bad thing for many reasons.
25
26 >> Can you do all that with the binary files created by systemd? I can't
27 >> even read them on a working system.
28 >>
29 >
30 > You just type journalctl to read the live system logs. For offline
31 > use you just type journalctl --file=filename. Or you can just run
32 > strings on the file I imagine if you're desperate. If it doesn't work
33 > on a "working system" then your system isn't working.
34
35 See, ppl already claim that when something that comes from systemd isn't
36 working, then the system isn't working. Unfortunately, they overlook
37 that when things systemd don't work by design, it's bad design or a
38 problem of systemd rather than the system not working.
39
40
41 --
42 Again we must be afraid of speaking of daemons for fear that daemons
43 might swallow us. Finally, this fear has become reasonable.