logging using printk, klogd

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

 






Hi,

   The book rubini says -- "if u dont want to clobber the system logs with
monitoring messages from your driver, then run klogd with the -f option or
change /etc/syslog.conf to suit your needs"

but  "man klogd" says running klogd -f  diverts the lof messages to that
file, what it mean, as far as i understand is that all system logs wld be
diverted to this file, instead of going to syslogd, so how does it matter,
you still are clobbering the system logs with monitor messages from your
driver ?? !!. Are not the two statements conflicting ?

Is there a way to divert just you own driver's log messages to a paritcular
file using printk and klogd/syslogd, such that this file wont have any
system messages. ?

thanks
Amit


--
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