How to validate rsyslog filter printk messaging

Solution Verified - Updated -

Issue

  • Need to confirm that rsyslog filtering configuration and printk messaging is working appropriately. This is important when using the hung task timeout kernel settings.
  • The task X blocked for more than Y seconds message is generated at KERN_ERR level, and the stack dump that follows it is generated and KERN_INFO level
  • The rsyslog line in question looks like this:
*.info;mail.none;news.none;authpriv.none;cron.none;local3.none;local3.error     /var/log/messages

# cat /proc/sys/kernel/printk
3       4       1       7

Environment

  • Red Hat Enterprise Linux 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content