From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?iso-8859-1?q?J=FCrgen_Beisert?= Date: Thu, 21 Nov 2013 14:26:00 +0100 References: <201311201507.59437.jbe@pengutronix.de> In-Reply-To: <201311201507.59437.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201311211426.00325.jbe@pengutronix.de> Subject: Re: [ptxdist] PTXdist klogd and syslogd Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Dave Hi Dave, On Wednesday 20 November 2013 15:07:59 J=FCrgen Beisert wrote: > On Wednesday 30 October 2013 09:28:36 Dave wrote: > > When you select both Busybox syslogd and Busybox klogd you get the > > message "klogd should not be used together with syslog to kernel printk > > buffer". > > > > At first I thought this meant you can't use both logging facilities at > > the same time. However, PTXCONF_BUSYBOX_SYSLOGD help says "when used in > > conjunction with klogd ... > > > > I would expect that if you could not use both at the same time then > > menuconfig would have the necessary rules to ensure that you didn't. > > > > Would someone explain in more detail what that message is trying to > > convey? > > You mean this message in the menuconfig? > > [*] syslogd > [....] > [*] Linux kernel printk buffer support > [*] klogd > --- klogd should not be used together with syslog to kernel printk buf= fer <---- this one? [ ] Use the klogctl() interface > > This is because "Linux kernel printk buffer support" in 'syslogd' and > 'klogd' do the same. Ups, forget this description. They do not the same. This option just puts t= he logging data into the printk buffer. This would end in an endless loop. klo= gd grabs the data from the printk buffer, forwards it to the syslogd daemon, which forwards it again into the printk buffer. That is why this warning is shown in the menu. If you want kernel messages in your logs, you need the klogd. jbe -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de