Re: writing to syslog file
- From: "Alaa" <asubs@xxxxxxx>
- Date: 26 Oct 2006 03:19:19 -0700
I'm trying to use "printk".........
wish me luck, and thanks for the advice.
Alaa
Milind Dumbare a écrit :
Alaa wrote:
Hi all,why don't u use "printk"?
I'm using Linux Kernel 2.6.17.6 and I need to write some specific
messages into syslog file. I'm using the syslog command:
syslog(LOG_INFO, "message");
After recompiling the kernel, I can not get any message in the syslog
file. Am I missing anything ? also, do I need to define the LOG_INFO
within the code and how?
Have you seen the level of kernel log messages in in /etc/sylog.conf
file.
google to know more about that file.
Actually, I need to repeat this message several times within the same
kernel file (tcp_input.c).
Please advice, I really need help as soon as possible.
Thanks for your help,
Alaa
.
- References:
- writing to syslog file
- From: Alaa
- Re: writing to syslog file
- From: Milind Dumbare
- 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: Re: writing to syslog file
- Index(es):
Relevant Pages
|