From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-144423-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 5088B138429 for <garchives@archives.gentoo.org>; Sat, 12 Jan 2013 14:38:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2059221C077; Sat, 12 Jan 2013 14:37:52 +0000 (UTC) Received: from kcout02.prserv.net (kcout02.prserv.net [12.154.55.32]) by pigeon.gentoo.org (Postfix) with ESMTP id 49A0E21C082 for <gentoo-user@lists.gentoo.org>; Sat, 12 Jan 2013 14:36:21 +0000 (UTC) Received: from opal.binro.org (node-4d3.pool-101-108.dynamic.totbb.net[101.108.22.23]) by prserv.net (kcout02) with ESMTP id <2013011214361920200sbu2qe> (Authid: gbinet.atwoodr); Sat, 12 Jan 2013 14:36:20 +0000 X-Originating-IP: [101.108.22.23] Received: from opal.binro.org (localhost.localdomain [127.0.0.1]) by opal.binro.org (8.14.6/8.14.4) with ESMTP id r0CEaGob016784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <gentoo-user@lists.gentoo.org>; Sat, 12 Jan 2013 21:36:16 +0700 Received: (from robin@localhost) by opal.binro.org (8.14.6/8.14.4/Submit) id r0CEaF5P016781 for gentoo-user@lists.gentoo.org; Sat, 12 Jan 2013 21:36:15 +0700 X-Authentication-Warning: opal.binro.org: robin set sender to robin.atwood@attglobal.net using -f From: Robin Atwood <robin.atwood@attglobal.net> To: gentoo-user@lists.gentoo.org Subject: Re: [Bulk] Re: [gentoo-user] Questions about systemd logging Date: Sat, 12 Jan 2013 21:36:15 +0700 User-Agent: KMail/1.13.7 (Linux/3.6.8-gentoo; KDE/4.9.4; x86_64; ; ) References: <201301091812.33767.robin.atwood@attglobal.net> <201301102346.29777.robin.atwood@attglobal.net> <20130110204918.76734bb7@kc-sys.chadwicks.me.uk> In-Reply-To: <20130110204918.76734bb7@kc-sys.chadwicks.me.uk> X-Face: .c^^1Tm5bSr;@/t2T;-0HM`{~wj)F]2C]Zr#!Ig5fi&$LV1E^;5jL{]08F@tj{f3,U(I[9 ;7R4jB8A7|mw7{K\OYFzCL_e/tAb)0_@07[e.}H`OE*na@7m=Op1.s0v3_3*|?#l|XD}n* ARBV@IdaVd!V&bo;Z/TEb}oJi_(}3VOa^tj;$zlk96>K*hb>PYbe6J`'7qh`?m!!/k]ezl _VIifMR#4kg*"'n/S&^4@4:<V'LhYNPV4!9xFAMp?vn)*u7<L45L%7Y\d!kMgbYa%^5{Ib -Qfe6i<-hL2oNp\i;nuE6AR^h:hVsYF?Z}P${9Z.3$+VD\Y;M(pp2D^7uM_v&Rr)W4i X-KMail-Markup: true 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 Content-Type: multipart/alternative; boundary="Boundary-01=_fTX8Q4ZKy1ka+EF" Content-Transfer-Encoding: 7bit Message-Id: <201301122136.15731.robin.atwood@attglobal.net> X-Archives-Salt: 3e652151-65d5-416b-9089-ec6262658cf0 X-Archives-Hash: 0846fb59e5e7332a9eaba367c2f3b4bf --Boundary-01=_fTX8Q4ZKy1ka+EF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Friday 11 January 2013, Kevin Chadwick wrote: > On Thu, 10 Jan 2013 23:46:29 +0700 > > Robin Atwood <robin.atwood@attglobal.net> wrote: > > Thanks for the tips, now I can get more output to tty1 if I want. I > > still can't get any systemd messages to syslog-ng, however. A bit of > > a mystery. > > This may be way off as I expect systemd to never shape up to a point > that I will use it, but with a bit of luck this may point you in the > right direction. On Arch systemd avoiders had to change their > syslog-ng.conf to the following to get their logging back. > > source src { > unix-dgram("/dev/log"); > internal(); > file("/proc/kmsg"); > }; I already have that! It's the systemd source that seems to have run dry. Cheers -Robin -- ---------------------------------------------------------------------- Robin Atwood. "Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst" from "Mandalay" by Rudyard Kipling ---------------------------------------------------------------------- --Boundary-01=_fTX8Q4ZKy1ka+EF Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Bitstream Vera Sans Mono'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Friday 11 January 2013, Kevin Chadwick wrote:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> On Thu, 10 Jan 2013 23:46:29 +0700</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Robin Atwood <robin.atwood@attglobal.net> wrote:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Thanks for the tips, now I can get more output to tty1 if I want. I</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > still can't get any systemd messages to syslog-ng, however. A bit of</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > a mystery.</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> This may be way off as I expect systemd to never shape up to a point</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> that I will use it, but with a bit of luck this may point you in the</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> right direction. On Arch systemd avoiders had to change their</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> syslog-ng.conf to the following to get their logging back.</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> source src {</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> unix-dgram("/dev/log");</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> internal();</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> file("/proc/kmsg");</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> };</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I already have that! It's the systemd source that seems to have run dry.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Cheers</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-Robin</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">----------------------------------------------------------------------</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Robin Atwood.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">"Ship me somewheres east of Suez, where the best is like the worst,</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Where there ain't no Ten Commandments an' a man can raise a thirst"</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> from "Mandalay" by Rudyard Kipling</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">----------------------------------------------------------------------</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p></body></html> --Boundary-01=_fTX8Q4ZKy1ka+EF--