> -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list- > bounces@xxxxxxxxxx] On Behalf Of Nupur > Sent: Thursday, December 08, 2005 12:18 AM > To: Count Of Dracula; General Red Hat Linux discussion list > Subject: Re: How to redirect kernel/console messages > > On 12/8/05, Count Of Dracula <shahkomal80@xxxxxxxxx> wrote: > > > > > > > > > > > Dear All, > > > > > > I have a querry here. I want to redirect the kernel messages to a > > > file. These kernel messages are a result of increasing verbosity of > > > some modules while compiling kernel. > > > > > > The methods I have tried to redirect the messages to a file are: > > > command > file.log > > > command > file.log 2>&1 > > > command | tee file.log > > > > > > But somehow all of them failed. The messages are not logging in > > > /var/log/messages and cat be re-read by dmesg. > > > > > > Can you suggest me something else toredirect the messages to kernel? Try adding this line to /etc/syslogd.conf kern.* /var/log/kernel and restart syslogd (/sbin/service syslogd restart) If this is to be a permanent situation I'd suggest modifying logrotate accordingly, or else ... > > > > > > Thanks and regards, > > > -- > > > Nupur > > > > man printk , man syslogd > > > > Regards, > > > > Dracula > > > > Well tried that as well but did not help me much... > -- > Nupur > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list