Re: how to configure printk() in 2.6 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 29, 2011 at 04:38:03PM -0700, Vaibhav Jain wrote:
> On Mon, Aug 29, 2011 at 3:24 PM, Ramesh.P <rameshpa@xxxxxxxxx> wrote:
> 
> > Hi Vaibhav,
> >
> > Try /etc/rsyslog.conf. However you should be using
> > /proc/sys/kernel/printk to really configure printk.
> >
[snip]
> 
> Hi Ramesh,
> 
> As I mentioned /etc/syslog.conf is not there on my system. Could you please
> tell me if the name has changed for the file in 2.6 kernel ? Also, does
> /proc/sys/kernel/printk provides for the same level of control ?

Syslog is a user space program, that collects the kernel messages.
So if you don't have /etc/syslog.conf on your system, it likely just
means that you don't have a standard installation of the syslog program,
which can have different reasons. AFAIK, syslog has been replaced by
rsyslog or syslog-ng on modern desktop linux distros.

BTW, Ramesh told you to try /etc/rsyslog.conf (note the 'r'), not
/etc/syslog.conf.

HTH,
	Jonathan Neuschäfer

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux