Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-13-2004, 01:56 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 29

Rep: Reputation: 15
console logging messages


I have a new driver, which prints all debug messages to console and /var/log/messages.

I wrote new set of priority values to /proc/sys/kernel/printk, which solves the problem. But, after every reboot this file is getting the default back, which makes the huge debug messages appear again.

How can I make my changes to /proc/sys/kernel/printk permanent. There should be a different way of doing this, and I'm not able to find it.

FYI - it is an appliance (not a PC/workstation). Logging into it and echo'ing is not right in this situation.

Old 09-13-2004, 02:11 PM   #2
Registered: Sep 2004
Location: KS
Distribution: Slack 10-current
Posts: 87

Rep: Reputation: 15
In /etc/sysctl.conf add:
kernel.printk = permanent

Then a sysctl -p I think to register the changes.
Old 09-13-2004, 05:18 PM   #3
LQ Newbie
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks man!

Appreciate it..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging Console Boot Messages candyman123 Linux - General 5 06-19-2005 03:38 PM
logging bootup messages to textfile? cast55 Debian 2 02-19-2005 06:56 PM
Howto Turn of X messages when logging out of KDE lacerto Linux - General 0 06-23-2004 02:12 PM
Logging kernel messages ugenn Linux - Software 8 01-04-2003 07:11 AM
logging external messages with syslogd slawomir Linux - Networking 3 09-04-2002 05:26 AM

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration