Re: writing to syslog file
- From: "Milind Dumbare" <milind.dumbare@xxxxxxxxx>
- Date: 26 Oct 2006 02:05:59 -0700
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
.
- Follow-Ups:
- Re: writing to syslog file
- From: Alaa
- Re: writing to syslog file
- From: Alaa
- Re: writing to syslog file
- References:
- writing to syslog file
- From: Alaa
- writing to syslog file
- Prev by Date: Re: System calls parameter restrictions
- Next by Date: Re: writing to syslog file
- Previous by thread: writing to syslog file
- Next by thread: Re: writing to syslog file
- Index(es):
Relevant Pages
|