On Thu, Oct 1, 2009 at 2:45 PM, Leonidas . <[email protected]> wrote:
> Hi List,
>
> Kernel maintains a circular log buffer and output of printk is stored
> in that log buffer,
> this log buffer survives reboots also.
>
> Is it possible to create a seperate file or dir inside /var/log for
> logging only my kernel
> modules messages?
>
> On my machine I see many files and dir inside /var/log/. Is it doable
> from a module?
>
> -Leo.
>

E.g. I know that I can change syslog.conf file so that all kernel
messages are stored in
a separate file.

But is there any way I can store only msgs emanating from My_Module to
a separate file?
Assume that all msgs from My_Module are having same priority say KERN_INFO.

-Leo.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to