Re: Re: need help with syslogd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

> You can use printk() and then have those kernel messages end up in
> system logs via klogd/syslogd.
> You could then tag your messages somehow; perhaps by using some
> prefix on every logged line and then later extract those messages out
> into a sepperate log file ((e)grep works well for that).

Jesper, I think I agree with you about the above idea. In fact, I think 
this is the fastest and the cleanest way to do what Arun want. Kernel 
space does what it needs, user space filters it.

regards

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux