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 10872138A87 for ; Mon, 23 Feb 2015 00:38:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61FE3E07D8; Mon, 23 Feb 2015 00:37:56 +0000 (UTC) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) (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 34F70E0784 for ; Mon, 23 Feb 2015 00:37:55 +0000 (UTC) Received: by pdjg10 with SMTP id g10so21478498pdj.1 for ; Sun, 22 Feb 2015 16:37:54 -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=vuWuDQorhUYH7mCZYoSWEqF7eC7gr0jl6J4Ig5CF1cg=; b=IMah95+6Wkq34dgko1rlbYI5tg6F66rDRry+KQeqIEHy506ZuErwZU+ZAsyNP91inP tzTTJfNwQPjdj0mNZcTBbaX2o9kRuTrSc8TpILbX7CbTS2nlqqisVfx74UeKW6iFLpMw Kceshr7764cAMvn/VFN9UB1QDXmGYy3qRrBKb/TysKJ0FgJ6J2pwL0l3/P74UJhS11TK lgWRArrS+p5EE0BPhpmeTD/yuVQH+c9RyqI4oLzzN6JTmSd85Pvfe6sUQQQv9d8Yki1B OTfLIEzWHdp6Hh513r0R2yrRDoib4lcFA2vT0ZQjKhjVraS9rMqD5gsfRk8Gp5Iksbn2 uFDA== 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.70.27.99 with SMTP id s3mr14708102pdg.103.1424651874203; Sun, 22 Feb 2015 16:37:54 -0800 (PST) Sender: freemanrich@gmail.com Received: by 10.70.85.39 with HTTP; Sun, 22 Feb 2015 16:37:54 -0800 (PST) In-Reply-To: <87vbitldj5.fsf@heimdali.yagibdah.de> References: <87lhjws8ci.fsf@heimdali.yagibdah.de> <28267.1424201355@ccs.covici.com> <87d257q7en.fsf@heimdali.yagibdah.de> <20150218223115.7fb56f66@digimed.co.uk> <87vbitldj5.fsf@heimdali.yagibdah.de> Date: Sun, 22 Feb 2015 19:37:54 -0500 X-Google-Sender-Auth: Ima96QQDOxVsh4whyLAOqv8063M 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: c4dba267-f257-4309-ba6d-fc573c0faa99 X-Archives-Hash: d38e3e3507264e20915c818a8d88dbfd On Sun, Feb 22, 2015 at 6:41 PM, lee wrote: > > To me it is one of the good reasons, and an important one. Plain text > can usually always be read without further ado, be it from rescue > systems you booted or with software available on different operating > systems. It can be also be processed with scripts and sent as email. > You can probably even read it on your cell phone. You can still read > log files that were created 20 years ago when they are plain text. Doing any of that stuff requires the use of software capable of reading text files. It isn't like you can just interpret the magnetic fields on your disk with your eyes. Sure, there are a lot more utilities that can read text files than journal files, but you just need to arrange to have them handy. They'll be ubiquitous before long since every distro around will end up needing them. > > Can you do all that with the binary files created by systemd? I can't > even read them on a working system. > You just type journalctl to read the live system logs. For offline use you just type journalctl --file=filename. Or you can just run strings on the file I imagine if you're desperate. If it doesn't work on a "working system" then your system isn't working. -- Rich