Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 104035

Summary: events getting ignored by syslgod
Product: [Retired] Red Hat Linux Reporter: Bastien Nocera <bnocera>
Component: sysklogdAssignee: Jason Vas Dias <jvdias>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: fedun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-04 23:42:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bastien Nocera 2003-09-09 10:15:20 UTC
Add an entry at the top of /etc/syslogd.conf:
kern.*   /var/log/kernel

Restart syslog:
service syslog restart

logger -p kern.warn "Warning test"

The "Warning test" doesn't get logged in /var/log/kernel, although the file is
created. A "*.*" entry will log this message to /var/log/kernel fine.

Comment 1 Jason Vas Dias 2004-08-04 23:42:07 UTC
Messages generated by 
  logger -p kern.warn "Warning test"
are handled by syslogd as user messages and get logged to
/var/log/messages.

Genuine kernel messages, from the kernel, are handled by klogd
and 'kern.warn' messages would be redirected to /var/log/kernel
by 'kern.warn /var/log/kernel' in syslog.conf.