Re: pr_info not printing message in /var/log/messages

2013-02-07 Thread anish kumar
On Tue, 2013-02-05 at 16:18 -0500, valdis.kletni...@vt.edu wrote: On Wed, 06 Feb 2013 04:43:20 +0800, Jimmy Pan said: in fact, i've been always wondering what is the relationship between dmesg and /var/log/message. they diverse a lot... dmesg is provided by kernel using cat /proc/kmsg.

Re: pr_info not printing message in /var/log/messages

2013-02-07 Thread Valdis . Kletnieks
On Thu, 07 Feb 2013 23:20:27 +0530, anish kumar said: Other insteresting standard logs managed by syslog are /var/log/auth.log, /var/log/mail.log. Other interesting *common* logs, as shipped pre-configured by some distros. They are hardly a standard (unless the definitions of these managed to

pr_info not printing message in /var/log/messages

2013-02-05 Thread Shraddha Kamat
I was looking at http://stackoverflow.com/questions/8090944/printk-not-working-for-kernel-debgugging Initially it was - # cat /proc/sys/kernel/printk 7 4 1 7 Then i did - # echo 7 7 /proc/sys/kernel/printk # cat /proc/sys/kernel/printk 7 7 1 7 # sysctl

Re: pr_info not printing message in /var/log/messages

2013-02-05 Thread Abhishek Gupta
I think try with ]# cat /proc/sys/kernel/printk 4 41 7 Regards Abhishek On Tue, Feb 5, 2013 at 8:28 PM, Shraddha Kamat sh200...@gmail.com wrote: I was looking at http://stackoverflow.com/questions/8090944/printk-not-working-for-kernel-debgugging Initially it was - # cat

Re: pr_info not printing message in /var/log/messages

2013-02-05 Thread Jimmy Pan
in fact, i've been always wondering what is the relationship between dmesg and /var/log/message. they diverse a lot... jimmy ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: pr_info not printing message in /var/log/messages

2013-02-05 Thread Valdis . Kletnieks
On Wed, 06 Feb 2013 04:43:20 +0800, Jimmy Pan said: in fact, i've been always wondering what is the relationship between dmesg and /var/log/message. they diverse a lot... What ends up in /var/log/message is some subset (possibly 100%, possibly 0%) of what's in dmesg. Where your syslog daemon