From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D8763138A1A for ; Tue, 17 Feb 2015 23:52:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0A82E08E8; Tue, 17 Feb 2015 23:52:09 +0000 (UTC) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) (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 BE01AE08D1 for ; Tue, 17 Feb 2015 23:52:08 +0000 (UTC) Received: by pdjz10 with SMTP id z10so47256435pdj.0 for ; Tue, 17 Feb 2015 15:52:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=jSfikDYEyfnLZxKFGJvkhTw3ciagJo7luQZy49ZHnNo=; b=Qg+Jle208fLwm6bpSXYTA3n6NtyzfC7rOpqrxnP4zmIICIqdIgM9XHzesmoosrB0TP NvQ8hvlHYdumi21Qk7zm0ZLcin9N9v9oj7NRKV4DLMJNsPXAXQZplDsaOl2uxSyQkwHF 3hYk2Nt1qzc12oq0Cn4QrXdRqvNt56YJ44xUKNmdJWkWpTVSawnsekiGa7w2rq1ls69M WHgDWtt3mrkbxKC4aRjEcubAVadTLlHXV58X0fiye4HWPyJHyXPIBvzbs1VflVmowI0P lcFbXoHTW1nIc1Q9+QRoWr9Z8ji9IaPhVwRbxJ131NkM++iR8Oq8y+aLZzeEjDX+M5vk a9tw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.66.254.40 with SMTP id af8mr49691621pad.65.1424217127799; Tue, 17 Feb 2015 15:52:07 -0800 (PST) Sender: freemanrich@gmail.com Received: by 10.70.85.39 with HTTP; Tue, 17 Feb 2015 15:52:07 -0800 (PST) In-Reply-To: <5053257.RtBGZSofvK@wstn> References: <87lhjws8ci.fsf@heimdali.yagibdah.de> <5053257.RtBGZSofvK@wstn> Date: Tue, 17 Feb 2015 18:52:07 -0500 X-Google-Sender-Auth: BfdUamOh1EnsFgSK29s7H1zc9VA Message-ID: Subject: Re: [gentoo-user] syslog-ng: how to read the log files From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 0be6186e-35ac-4223-8ea7-3c77bf768026 X-Archives-Hash: ec42e3c6664761b0e0b846fc0e549659 On Tue, Feb 17, 2015 at 5:51 PM, Peter Humphrey wrote: > > 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. > Uh, of what binary "mark" are you speaking? Seems likely that however you processed the file stripped it of whatever was causing less to consider it as binary. I don't think cat alone would do anything to the file, but I'm not certain of that. -- Rich