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 A56F8138A1A for ; Tue, 17 Feb 2015 22:33:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47C85E08D4; Tue, 17 Feb 2015 22:31:46 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1044E08CE for ; Tue, 17 Feb 2015 22:31:39 +0000 (UTC) Received: from marcec.fritz.box ([93.181.44.4]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M8NWM-1XaiP92NAQ-00vvms for ; Tue, 17 Feb 2015 23:31:33 +0100 Date: Tue, 17 Feb 2015 23:31:26 +0100 From: Marc Joliet To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] syslog-ng: how to read the log files Message-ID: <20150217233126.30ac9b70@marcec.fritz.box> In-Reply-To: References: <87lhjws8ci.fsf@heimdali.yagibdah.de> <28267.1424201355@ccs.covici.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) 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 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/d=PyJ1YtM2gfk/6d1R2BbMD"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:daG5tF5If3BjkK+ifTze5v8X4lrfVMbjuwBpDBVGZTybm/opYTJ GOlTeQ3+Slj+EL55bom1QOPoEd3let80jlKSuRNb7tB58cE4/x0sP08hgcmg27jzawLOaZD 35jreg5uh52IMZux3Bhpdio8fPeX6QGRiwajbDBR4JUMDHw57k5dagdmKsVA4BaInMJfAzS qda49zJTGa1lp2xiE1vSw== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 5f547da0-9456-4e00-a4b7-b029a8954c1d X-Archives-Hash: 10cb834a9d4559744c3c857f9e90f78e --Sig_/d=PyJ1YtM2gfk/6d1R2BbMD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Tue, 17 Feb 2015 13:45:38 -0600 schrieb Canek Pel=C3=A1ez Vald=C3=A9s : > On Tue, Feb 17, 2015 at 2:29 PM, wrote: > > > > Alexander Kapshuk wrote: > > > > > On Tue, Feb 17, 2015 at 8:26 PM, lee wrote: > > > > > > > Hi, > > > > > > > > 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. > > > > > > > > > > > > -- > > > > Again we must be afraid of speaking of daemons for fear that daemons > > > > might swallow us. Finally, this fear has become reasonable. > > > > > > > > > > > If you're talking about /var/log/messages, which is: > > > messages: data > > > > > > I use cat(1). > > > > I wonder if the OP is using systemd and trying to read the journal > > files? >=20 > Those live under /var/lib/journal (which you need to create; Gentoo doesn= 't > do it by default last time I saw) [...] It did on my laptop after I migrated it to systemd over the weekend (on a w= him, no less -- apparently I'm adventurous?). Or, to be more precise, I didn't h= ave to create the directory myself. And wouldn't it be created at run-time, any= way? That's what I would expect, at least. [...] --=20 Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup --Sig_/d=PyJ1YtM2gfk/6d1R2BbMD Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU48FEAAoJEL/Q5oYsiHj0kcQP/0FOhKKbB6SYE8lfvB4pWPWk ceXZc58CN4FzAjcnd+itOAWrH7B7zd9vg3D9f2vCu1bXPrOUQxvWRa2NNQYspw7R mwMImXyW4NE/8Lcqct2xIPyrmL8A1TlKKEBa+amOsdu95vlYTyFvptP6vjvpHMZR WGO0v2lFvxeXtGtUORjvXsX3NBxKZ3rVM7BbVVTchY+jwPyyPisEXVCVNGhViyg1 y2hLeWrMLzin3Wx4X379f4QWHvzQgb65IPxu//sYttYU1pUg7UcDacCppBcu5yFo kGxRLbZomnjSyEy/FbUIHR9mLugXvI8HeRNiN/Ovy9bILAW9cRHV02bQDXL0PhMT MBwblxMpuiVJPxr3fa3Cr0LeYaeHgRs7Gtnbgr4x9r+IXNjctq+gognw3+aX3LFe iRjLl9PDn1gjiEbmrHoNL25kAE7opf9r4r/d+PGR4vCshPPDp8x+49WzGeFCSpfP wGCkFRuMUtYjm+qPBm72YoMECkBGmcd4K3zBEuN5UbDthZcRBTDZVXiLl3wwx60P V88Q2CAKJTiw7emIpucFV0L6o+/zuEK4fJuK+62FAB6GKgc+RZrVUE5t/QzJMEa7 q4DSUbjhIEHaMTEFEszbfBf9PIYo3C93LIXpSZ6zk7zzfcL1mYM7+enFq5NukaiM N44b0O2iPVJy+irIa7tf =LIuZ -----END PGP SIGNATURE----- --Sig_/d=PyJ1YtM2gfk/6d1R2BbMD--