Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] syslog-ng: how to read the log files
Date: Tue, 17 Feb 2015 19:09:25
Message-Id: CAJ1xhMXbJ4-WB6zr7SGb6YUN+3Kgfq_XMygWSA+xvfRvHKCXag@mail.gmail.com
In Reply to: Re: [gentoo-user] syslog-ng: how to read the log files by Alexander Kapshuk
1 On Tue, Feb 17, 2015 at 8:38 PM, Alexander Kapshuk <
2 alexander.kapshuk@×××××.com> wrote:
3
4 > On Tue, Feb 17, 2015 at 8:26 PM, lee <lee@××××××××.de> wrote:
5 >
6 >> Hi,
7 >>
8 >> how do you read the log files when using syslog-ng?
9 >>
10 >> The log file seem to be some sort of binary that doesn't display too
11 >> well in less, and there doesn't seem to be any way to read them.
12 >>
13 >>
14 >> --
15 >> Again we must be afraid of speaking of daemons for fear that daemons
16 >> might swallow us. Finally, this fear has become reasonable.
17 >>
18 >>
19 > If you're talking about /var/log/messages, which is:
20 > messages: data
21 >
22 > I use cat(1).
23 >
24 >
25 Just tried 'sed p /var/log/messages', which seems to work as well.