[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printk not printing to kernel log
On Wed, Apr 1, 2009 at 9:30 PM, Bob Beers <bob.beers@xxxxxxxxx> wrote:
> Sorry, didn't mean to exclude the list, added it back as CC:
>
> On Wed, Apr 1, 2009 at 2:15 AM, Sukanto Ghosh
> <sukanto.cse.iitb@xxxxxxxxx> wrote:
>> On Tue, Mar 24, 2009 at 11:57 PM, Bob Beers <bob.beers@xxxxxxxxx> wrote:
>>> On Tue, Mar 24, 2009 at 2:15 PM, Sukanto Ghosh
>>> <sukanto.cse.iitb@xxxxxxxxx> wrote:
>>>
>>>> What might be the possible reasons for such behavior ?
>>>
>>> contents of /etc/syslog.conf ??
>>>
>>
>> no /etc/syslog.conf in Fedora Core 9
>>
>
> You're right, fedora 9 uses rsyslogd, so check /etc/rsyslog.conf.
> ( I don't use fedora, so the following might be irrelevant. )
> There is also the 'trick' of relaunching klogd with -c to have kernel
> messages print to the console.
I have previously used FC6/FC7 and I think it is different. Cannot
remember. But now all my FC10 are like what u said above:
/etc>ps auxwf|grep syslog
root 2577 0.0 0.0 114012 1860 ? Sl 07:20 0:00 rsyslogd -c 3
/etc>cat /etc/rsyslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
So if u remarked the above out, nothing will go into
/var/log/messages, whcih is what I normally do to improve performance
(after I had instrumented a lot of the kernel codes) - as the I/O does
slowed the system a lot.
--
Regards,
Peter Teoh
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ