System log question

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

 



Hi

I'm working on kernel driver development. So far we are using the "printk" to log information in the system log file which is var/log/messages. We want to have seperate file for our driver specifically. Since we cannot use file system (fopen,fwrite etc..) functions to log messages. what is the alternative to achieve this. Eventually we will have apllication which uses that driver . we should be able to log messages from application also in the same file.  

suneel

 
 

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