Results 1 to 5 of 5
Is there a way to generically suppress or redirect the information types of messages that the various services send to the console? We are using these machines in a retail ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-13-2012 #1Just Joined!
- Join Date
- Feb 2012
- Posts
- 7
CentOS 6.2 suppress console messages
Is there a way to generically suppress or redirect the information types of messages that the various services send to the console? We are using these machines in a retail environment and find that they create concern about whether they are having system issues.
TIA,
Mike
- 11-13-2012 #2
According to Redhat
Code:Setting the console log level Use of the LOGLEVEL parameter in /etc/sysconfig/init to set the console loglevel is no longer supported. To set the console loglevel in Red Hat Enterprise Linux 6, pass loglevel=<number>' as a boot time parameter.
- 11-13-2012 #3Just Joined!
- Join Date
- Feb 2012
- Posts
- 7
Robert,
Thanks! Did this and so far so good (no messages).
Regards,
Mike
- 11-14-2012 #4Just Joined!
- Join Date
- Sep 2012
- Location
- India
- Posts
- 26
You can either set the log level at the boot time or you can use rsyslog file to set the log level where the message can be redirected and which file it will be stored.
Using this daemon you can categorize messages and also set priority for the messages.
There are various message information types that are available
a: kern - kernel messages
b: mail - mail messages
c: cron - cron messages
d: info - informational messages etc
You can also set priority in the configuration
<FACILITY>.<PRIORITY>
Priority will be
debug
info etc
Please refer rsyslog file for this.
Best Wishes,
- 11-14-2012 #5


Reply With Quote

