Bug 741561 - rsyslogd logs kernel warning message to console - that may be too much
Summary: rsyslogd logs kernel warning message to console - that may be too much
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rsyslog
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Heinrich
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-27 09:44 UTC by David Tonhofer
Modified: 2011-12-12 13:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-12 13:25:24 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description David Tonhofer 2011-09-27 09:44:24 UTC
Description of problem:

By default, rsyslogd logs kernel log messages of at least level "warning" and up to console (via imklog).

This may be too much; why not log only critical, alerts and emergencies? In my case, the console is swamped by warnings from iptables.

According to 

   https://bugzilla.novell.com/show_bug.cgi?id=593699
   http://www.rsyslog.com/doc/imklog.html

Adding 

   $klogConsoleLogLevel 2 # set log level 2

to 

   /etc/rsyslog.conf

fixes the problem.


Version-Release number of selected component (if applicable):

  rsyslog-4.6.2-3.el6_1.1.x86_64

How reproducible:

Always

Comment 2 RHEL Program Management 2011-10-07 16:05:09 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Tomas Heinrich 2011-12-12 12:44:16 UTC
This might be a better default for your scenario, but not for everybody. I guess it would be better to first propose this upstream. If others agree with this change, we can adopt it as well.

Comment 5 RHEL Program Management 2011-12-12 13:25:24 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.