LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   From where am i getting error messages to /var/log/messages? (http://www.linuxquestions.org/questions/linux-networking-3/from-where-am-i-getting-error-messages-to-var-log-messages-290792/)

prabhuacsp 02-15-2005 11:48 PM

From where am i getting error messages to /var/log/messages?
 
hi,

I am currently working on the error generated by different daemons in linux like named, inetd etc... These processes are logging there messages in '/var/log/messages'. I am developing an application that generates regular error patterns for any specific process. For easier way I searched the 'named' src code but to my surprise there were no error messages there that matched the one that were in the 'messages' file. According to me they are generated by different processe that give service to the named process.

I am not able to trace the location of where the error messages are being generated. If you are aware of the details please inform me about it at the earliest.

waiting for reply
Prabhu & Deepak

dping 02-16-2005 12:34 AM

This should be in the programming forum.
My uneducated understanding is that many of the messages in /var/log/messages are kernel generated.
Also, many of the system configuration scripts (hotplug for example) print errors to /var/log/messages when they have debug enabled. If that helps....


All times are GMT -5. The time now is 07:08 AM.