RE: log messages

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

 



If you need to see all messages which the kernel _actually tries to print_ during operation on your computer you will need to set the priority for kernel messages (facility 'kern') in /etc/syslog.conf to 'debug'.

If you need to see the text of all _possible_ messages which kernel may print (in every siituation, not only on your computer), you may search in the kernel source code for the string 'printk' (this is the function which is user in the kernel to print all messages). You may also need to use C preprocessor on the source code before searching because that function is frequently used or redefined via #define commands.

Alexey Fadyushin.
Brainbench MVP  for Linux.
http://www.brainbench.com


> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of chinnasamy kumanan
> Sent: Friday, August 26, 2005 10:41 AM
> To: General Red Hat Linux discussion list
> Subject: Re: log messages
> 
>   Dear friend,
> i think it's quite easy to collect all the log files
> follow this steps:
> 1.use the file /etc/syslog.conf or search for the file syslog.conf
> which tells where to store the log messages which generated by different
> categories
> 2./var is the main directory where all ur log messages stored
> 3./var/log/messages is the file which stores maximum log messages
> Try and enjoy
> Regards,
> your friend
> 
> 
> On Thu, 25 Aug 2005 Rolando Bazoalto wrote :
> >hi, one more question please. i was searching about log messages and
> >if it is possible to have all the possible log messages sent by the
> >kernel. I am doing a research job about it. i think it is not
> >possible, but i would like to know if there is a way to find some kind
> >of database of the log messages.
> >
> >thanx.
> >
> >--
> >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=subscribe
> 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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux