From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] I don't seem to have a system log. Help, please!
Date: Mon, 9 Feb 2015 06:23:15 -0500 [thread overview]
Message-ID: <CAGfcS_knDidbgS6dLbRYU6pBFWEA6MU+DnfwTJCz-beNjrZE1w@mail.gmail.com> (raw)
In-Reply-To: <54D886B2.3060302@hanft.de>
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
next prev parent reply other threads:[~2015-02-09 11:23 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 9:48 [gentoo-user] I don't seem to have a system log. Help, please! Alan Mackenzie
2015-02-09 10:06 ` Matthias Hanft
2015-02-09 10:12 ` Neil Bothwick
2015-02-09 11:23 ` Rich Freeman [this message]
2015-02-09 11:49 ` Mick
2015-02-09 11:52 ` Alec Ten Harmsel
2015-02-09 13:02 ` Rich Freeman
2015-02-09 13:43 ` Alec Ten Harmsel
2015-02-09 14:26 ` covici
2015-02-09 15:02 ` Rich Freeman
2015-02-09 15:09 ` covici
2015-02-09 15:10 ` [gentoo-user] alexandra vargas
2015-02-09 11:23 ` [gentoo-user] I don't seem to have a system log. Help, please! Alan Mackenzie
2015-02-09 11:46 ` Neil Bothwick
2015-02-09 10:19 ` Alan McKinnon
2015-02-09 11:26 ` Alan Mackenzie
2015-02-09 13:21 ` Matthias Hanft
2015-02-09 11:29 ` Mick
2015-02-09 11:48 ` Neil Bothwick
2015-02-09 11:13 ` Adam Carter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGfcS_knDidbgS6dLbRYU6pBFWEA6MU+DnfwTJCz-beNjrZE1w@mail.gmail.com \
--to=rich0@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox