From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-162237-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 9F3E8138A1A
	for <garchives@archives.gentoo.org>; Wed, 18 Feb 2015 07:39:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F10EEE0949;
	Wed, 18 Feb 2015 07:38:58 +0000 (UTC)
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9F491E0935
	for <gentoo-user@lists.gentoo.org>; Wed, 18 Feb 2015 07:38:57 +0000 (UTC)
Received: by mail-wi0-f177.google.com with SMTP id bs8so108886wib.4
        for <gentoo-user@lists.gentoo.org>; Tue, 17 Feb 2015 23:38:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=from:reply-to:to:subject:date:user-agent:references:in-reply-to
         :mime-version:content-type:content-transfer-encoding:message-id;
        bh=i4Vi/iaGqF35DjRljm3K8SPSciJcWP3/IIz2abtM1dk=;
        b=cbG8ZfpSSzeFsfnusMuBtZcpnGx59aEbe51Glie8C4KwqArwQBC0qvWFza3Kd3w2Rl
         PEeBzk0Xb5ZCfUtM7b8n9/jk3NWP+fTYF7Y1M2eqMXvCB7TqH4b4MSRgasZAKj7tcZcF
         ALooqWXbKNvGVMgJ9XMeOntU0THgL2s0wqjU6v+FvcHGbm7XF0LO33/eHGrED1XM3dcn
         /zDTLzeFh/T6+yqtJSKI/GCL+oNy4Q4IolRofJNbmBEYDSwpgXN4ZllY1SIrzyI1HI9N
         nqzj7j2O3Kl+lYLhkoJaHx3HTW7PlypkgLtlYS8e3O8FgQhw6M1pi/mE86h2rzaECqRN
         20wg==
X-Received: by 10.194.173.10 with SMTP id bg10mr6230822wjc.115.1424245136360;
        Tue, 17 Feb 2015 23:38:56 -0800 (PST)
Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230])
        by mx.google.com with ESMTPSA id cj12sm31178119wjb.35.2015.02.17.23.38.55
        for <gentoo-user@lists.gentoo.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 17 Feb 2015 23:38:55 -0800 (PST)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] syslog-ng: how to read the log files
Date: Wed, 18 Feb 2015 07:38:46 +0000
User-Agent: KMail/1.13.7 (Linux/3.17.8-gentoo-r1; KDE/4.14.3; x86_64; ; )
References: <87lhjws8ci.fsf@heimdali.yagibdah.de> <5053257.RtBGZSofvK@wstn> <4611964.hfD2vZR9R2@wstn>
In-Reply-To: <4611964.hfD2vZR9R2@wstn>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart7019663.I9OSfhGh9A";
  protocol="application/pgp-signature";
  micalg=pgp-sha256
Content-Transfer-Encoding: 7bit
Message-Id: <201502180738.56435.michaelkintzios@gmail.com>
X-Archives-Salt: f035a5f0-20d1-4121-8a39-b6b0f7376b2c
X-Archives-Hash: c9215b5801d29e96fdb9d505889459a4

--nextPart7019663.I9OSfhGh9A
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

On Tuesday 17 Feb 2015 23:13:08 Peter Humphrey wrote:
> On Tuesday 17 February 2015 22:51:55 Peter Humphrey wrote:
> > On Tuesday 17 February 2015 20:41:06 Matti Nykyri wrote:
> > > > On Feb 17, 2015, at 20:26, lee <lee@yagibdah.de> wrote:
> > > > how do you read the log files when using syslog-ng?
> > > > The log file seem to be some sort of binary that doesn't display
> > > > too
> > > > well in less, and there doesn't seem to be any way to read them.
> > >=20
> > > 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.
> >=20
> > Yes, that was me. I found that something had marked /var/log/messages
> > as a binary file. There's nothing in it that can't be read, no
> > mysterious characters or anything; it's just marked as binary. All
> > you have to do is to move it, then cat it back into place. I did that
> > with no ill effects.
>=20
> Actually, this is what I did, as I reported here on 26/12:
> > 1.    Boot rescue system and mount main system
> > 2.    # cd /mnt/main/var/log
> > 3.    # mv messages messages.bin
> > 4.    # strings messages.bin > messages
> > 5.    # rm messages.bin
> > 6.    Reboot.

How often do you have to do this?

=2D-=20
Regards,
Mick

--nextPart7019663.I9OSfhGh9A
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABCAAGBQJU5EGQAAoJELAdA+zwE4YeCJwH/RYYVsNB9CEaQfyl6n9rOnfc
sOMjge6S4b5Dni7/gLK2tV0Q+VndtUWXHwes8ATEM1vGa2OzVNMkdPq71rH9tnXs
aOnFeG27qQgM5soeaoPhaCiRdaTfe5NnY2UwBz2Z13lOPGb/PB5H4jGGunQUjB2X
q1GIf0slMIupai3VN0NwcBXU/sht8e9PXxk0Y6hdpAWv9yav0UgPYxYQ0Heul3rf
7s/AeHWS6PdP9ctIlKkdl7oCODLGiI1Zk+Z/92h4DXEiolD9GbMH0QF9GxmmxM1H
Kde/nq6NXobYKyC921FbN56FnsFP6wCKS+U5KvzFnzZMZptPHO5l/D53XISeQkg=
=DGJk
-----END PGP SIGNATURE-----

--nextPart7019663.I9OSfhGh9A--