about syslogd and Printk()

CHANG Lei (chang714@mx.cei.gov.cn)
Sat, 18 Jul 1998 21:50:04 +0800


Hello,everyone.
I'm reading the linux kernel code about network.
I want to analyze the packet,so I insert a piece of code into net_bh( )
to display the packet content:

{
unsigned char *temp;
for(temp=skb->data;temp<skb_>tail;temp++)
printk("0x02:",*temp);
}

and syslog.conf include:
kern.* /usr/adm/mylog

when come some packets,there content could display on the screen,
but it somtimes cann't be recorded into the file of mylog, why?

Thank you!
Chang lei

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html