Gentoo Archives: gentoo-user

From: Matti Nykyri <matti.nykyri@×××.fi>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] syslog-ng: how to read the log files
Date: Tue, 17 Feb 2015 18:41:23
Message-Id: B1C05CFE-932D-4DEC-AE09-8576AEE7A15D@iki.fi
In Reply to: [gentoo-user] syslog-ng: how to read the log files by lee
1 > On Feb 17, 2015, at 20:26, lee <lee@××××××××.de> wrote:
2 >
3 > Hi,
4 >
5 > how do you read the log files when using syslog-ng?
6 >
7 > The log file seem to be some sort of binary that doesn't display too
8 > well in less, and there doesn't seem to be any way to read them.
9
10 This was discussed earlier on this list... Actually what syslog-ng produces is plain text. There seemed to be a bug that creates some binary (i.e. unreadable characters) and that causes less to consider files to be binary and show them incorrectly.
11
12 To work around you can use -r flag with less, or replace/remove unreadable chars from log, or delete the log file.
13
14 --
15 -Matti

Replies

Subject Author
Re: [gentoo-user] syslog-ng: how to read the log files Peter Humphrey <peter@××××××××××××.uk>