LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   problem of printk (https://www.linuxquestions.org/questions/programming-9/problem-of-printk-745198/)

nesta 08-05-2009 12:57 AM

problem of printk
 
i All,
i have the same problem:
i cant see the output of printk on the console.

i have checked the values of console_log_level as follows:

Quote:

cat /proc/sys/kernel/printk

i got the following output:

Quote:

7 4 1 7
i think the first one in the left is console_loglevel is set to 7 which means that the messages that have higher priority(i.e. smaller numbers) should be out to the console but this did not take place?

when i type dmesg command i can see my printks but actually i wish to have them on the console directly, how can i see this?

Mara 08-05-2009 02:36 PM

IMO this option works the other way round. Set the first value from the left to '1', for instance.


All times are GMT -5. The time now is 09:49 AM.