RE: printk question

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

 




On 12-Mar-2001 Giscard Wipiwi wrote:
> I write a small Kernel program, where i put some
> printk for debugging. But i have the problem that the
> printk is printing in the standard output and in
> /var/log/messages. I will want the messages to be
> printed just in the file /var/log/messages. 
> What might i have to do?

Read /usr/src/linux/Documentation/proc.txt and find section about printk and
console_loglevel.

> PS: I kill the process klogd and syslogd but the
> output of printk still in stdout.

If you don't have klogd and syslogd where else kernel (via printk) will send
messages?

Bye, Milan
--------------------------------------------------
 /"\
 \ / 
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \
--------------------------------------------------
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux