From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-161964-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 7FE94138A1A
	for <garchives@archives.gentoo.org>; Mon,  9 Feb 2015 11:23:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6F5ECE09B7;
	Mon,  9 Feb 2015 11:23:17 +0000 (UTC)
Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176])
	(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 4FA33E0977
	for <gentoo-user@lists.gentoo.org>; Mon,  9 Feb 2015 11:23:16 +0000 (UTC)
Received: by pdbfl12 with SMTP id fl12so5771989pdb.2
        for <gentoo-user@lists.gentoo.org>; Mon, 09 Feb 2015 03:23:15 -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=t0N1ASJ6BWQFvzzSOGa1Y9rCgg7At/JNUgydzEE8TvY=;
        b=OFb3pGvy8XMYg9kR3hr9hJYsRnmuDUZboSqopY/u3HYcJFtJ44lhnE1KSvycnTRcIA
         bB37K9AiVvbVNEjDvJJcXjzolyznRgx7xTXuB6S9Pn7+KmbwIvlAx9yiugwkr3UaLzhR
         gBO0MH6rZPP5IM9ybFmYmCn1dfZeiM6hYHHnOgvPS1x+UrGdrtzH5UM2gWm7AhY20Jyb
         59bSsltIQFZgMSWohHqbn2zhid30/v5elfRd4uer84crodrsxzCMgcl4ALVaxpchTxge
         14pA247BmBQEmtzCSvAw0cx2vkDiPM4P/NEQkS2JIi3EHCNltyW+vDBWJ/kAofBgqbsH
         m3KA==
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
X-Received: by 10.70.55.105 with SMTP id r9mr28230877pdp.147.1423480995348;
 Mon, 09 Feb 2015 03:23:15 -0800 (PST)
Sender: freemanrich@gmail.com
Received: by 10.70.85.39 with HTTP; Mon, 9 Feb 2015 03:23:15 -0800 (PST)
In-Reply-To: <54D886B2.3060302@hanft.de>
References: <20150209094818.GA3218@acm.fritz.box>
	<54D886B2.3060302@hanft.de>
Date: Mon, 9 Feb 2015 06:23:15 -0500
X-Google-Sender-Auth: e6BPUTBzO8QgtQTnTpULgMbL-GQ
Message-ID: <CAGfcS_knDidbgS6dLbRYU6pBFWEA6MU+DnfwTJCz-beNjrZE1w@mail.gmail.com>
Subject: Re: [gentoo-user] I don't seem to have a system log. Help, please!
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 78a57c74-8823-4ff4-b140-df3030d7105c
X-Archives-Hash: add9f0aaa85ad3c5af59924f4f6c3006

On Mon, Feb 9, 2015 at 5:06 AM, Matthias Hanft <mh@hanft.de> wrote:
>
> And (from what I have heard) if you use systemd instead of
> openrc, there are no syslog files at all - you have to export
> them (from some binary database) manually to some human-
> readable format. But I don't know much about that - never
> used systemd on any Gentoo Linux yet.

You don't have to export them from anything unless you need their
content in a text file.  If you just run "journalctl" that is the
equivalent of typing cat /var/log/messages.  If you do want to parse
them with an external tool then you get your choice of several text
formats and json.

And yes, you can also run syslog, though I never really got the point
of that.  The value of the journal is that you capture full metadata
for your log entries and you can just query it vs having to parse
undelimited text files.  Heck, it seems like half the enterprise
monitoring tools start out by grabbing that log file that has
discarded most of the context and then putting it in a database and
attempting to re-create it all.

-- 
Rich