1 |
Marc Joliet <marcec@×××.de> wrote: |
2 |
|
3 |
> Am Mon, 23 Feb 2015 00:41:50 +0100 |
4 |
> schrieb lee <lee@××××××××.de>: |
5 |
> |
6 |
> > Neil Bothwick <neil@××××××××××.uk> writes: |
7 |
> > |
8 |
> > > On Wed, 18 Feb 2015 21:49:54 +0100, lee wrote: |
9 |
> > > |
10 |
> > >> > I wonder if the OP is using systemd and trying to read the journal |
11 |
> > >> > files? |
12 |
> > >> |
13 |
> > >> Nooo, I hate systemd ... |
14 |
> > >> |
15 |
> > >> What good are log files you can't read? |
16 |
> > > |
17 |
> > > You can't read syslog-ng log files without some reading software, usually |
18 |
> > > a combination of cat, grep and less. systemd does it all with journalctl. |
19 |
> > > |
20 |
> > > There are good reasons to not use systemd, this isn't one of them. |
21 |
> > |
22 |
> > To me it is one of the good reasons, and an important one. Plain text |
23 |
> > can usually always be read without further ado, be it from rescue |
24 |
> > systems you booted or with software available on different operating |
25 |
> > systems. It can be also be processed with scripts and sent as email. |
26 |
> > You can probably even read it on your cell phone. You can still read |
27 |
> > log files that were created 20 years ago when they are plain text. |
28 |
> > |
29 |
> > Can you do all that with the binary files created by systemd? I can't |
30 |
> > even read them on a working system. |
31 |
> |
32 |
> What Canek and Rich already said is good, but I'll just add this: it's not like |
33 |
> you can't run a classic syslog implementation alongside the systemd journal. |
34 |
> On my systems, by *default*, syslog-ng kept working as usual, getting the logs |
35 |
> from the systemd journal. If you want to go further, you can even configure |
36 |
> the journal to not store logs permanently, so that you *only* end up with |
37 |
> plain-text logs on your system (Duncan on gentoo-amd64 went this way). |
38 |
> |
39 |
> So no, the format that the systemd journal uses is most decidedly *not* a reason |
40 |
> against using systemd. |
41 |
> |
42 |
> Personally, I'm probably going to uninstall syslog-ng, because journalctl is |
43 |
> *such* a nice way to read logs, so why run something whose output I'll never |
44 |
> read again? I recommend reading |
45 |
> http://0pointer.net/blog/projects/journalctl.html for examples of the kind of |
46 |
> stuff you can do that would be cumbersome, if not *impossible* with regular |
47 |
> syslog. |
48 |
|
49 |
Except that I get lots of messages about the system journal missing |
50 |
messages when forwarding to syslog, so how can I make sure this does not |
51 |
happening? |
52 |
|
53 |
-- |
54 |
Your life is like a penny. You're going to lose it. The question is: |
55 |
How do |
56 |
you spend it? |
57 |
|
58 |
John Covici |
59 |
covici@××××××××××.com |