How to validate rsyslog filter printk messaging
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 secondsmessage is generated at KERN_ERR level, and the stack dump that follows it is generated and KERN_INFO level - The
rsyslogline 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
