Skip to contentSkip to conversation

dumb question: How to create your own log files in a kernel module?

DISCUSSION Bodo Eggert <[email protected]> 1 participant 1 message Apr 28, 2005 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 4 lines · Xin Zhao

Thanks for kind help.

I know printk can do this job. But what I really want is to print logs to a file specified by me instead of /var/log/messages.

RTFM.

man 5 syslogd.conf

Signature · 3 lines
Funny quotes:
39. Ever wonder about those people who spend $2.00 apiece on those little
    bottles of Evian water? Try spelling Evian backwards: NAIVE