Thank you for the elaboration. Cheers, Dave > From: jbe@pengutronix.de > To: ptxdist@pengutronix.de > Date: Thu, 21 Nov 2013 14:26:00 +0100 > CC: dave_festing@hotmail.com > Subject: Re: [ptxdist] PTXdist klogd and syslogd > > Hi Dave, > > On Wednesday 20 November 2013 15:07:59 Jürgen 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 buffer <---- 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 the > logging data into the printk buffer. This would end in an endless loop. klogd > 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. | Juergen Beisert | > Linux Solutions for Science and Industry | http://www.pengutronix.de/ | > > -- > ptxdist mailing list > ptxdist@pengutronix.de