Re: writing to syslog file
- From: "gil_hamilton@xxxxxxxxxxx" <gil_hamilton@xxxxxxxxxxx>
- Date: 26 Oct 2006 04:03:16 -0700
Alaa wrote:
I used :
"printk(KERN_INFO "message"\n);
within tcp_input.c file, and did recompile using "make bzImage". The
system recompiled without any errors. But I can not see any message
(those I inserted in the file).
Couple things to try:
First, this command: "echo 8 >/proc/sys/kernel/printk" should make
*all* subsequent printk output show up on the console whether it goes
to syslog or not.
Second, check /etc/syslog.conf to see how the syslog subsystem is
configured. Read the syslog.conf manual page to find out how to
interpret/modify the file contents. Also make sure that the syslogd
and klogd daemons are actually running (klogd actually collect the
printk output from the kernel). Read their manual pages as needed too.
GH
.
- References:
- writing to syslog file
- From: Alaa
- Re: writing to syslog file
- From: Milind Dumbare
- Re: writing to syslog file
- From: Alaa
- writing to syslog file
- Prev by Date: Re: writing to syslog file
- Next by Date: Re: writing/finding pci bar0
- Previous by thread: Re: writing to syslog file
- Next by thread: System calls parameter restrictions
- Index(es):