Hi,

I've written some kernel modules using kprobes infrastructure
to grab some more information on network packets. I've lots of
printk which by default show up in syslog file(/var/log/messages),
I was wondering if there are some method to redirect my printkS
to appear in somewhere else(say /var/log/netlog).
On a busy system, it gets little cluttered with other logs. Of-course
i can grep for my own custom messages but it would be lot more
convenient if i can redirect my messages in  a separate log file.

Considering above can be done, then what about dmesg ?
will they still show up in dmesg output ?

Regards,
Amit

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to