Customising printk

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

 



Hello everyone,

I'm a newbie in kernel programming and i have this thought.
How about making my own syslog file that contain my own printk that i put in my module.
Now, i've tried to edit the syslog.conf file then put this: user.info <tab><tab> /var/log/mylog.
But, in mylog file, its not only my printk was put in it. It also include others printk.

How do i filter this printk? so that only my printk that i put in mu module will be put in mylog file.

Thank you and sorry foy my bad english.

Regards,
Iyep

[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