diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-06-18 10:08:08 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-06-18 10:08:08 +0000 |
commit | dd63b41327430cbd08067511544956ded4a0f726 (patch) | |
tree | 4e2e8afb7464c4d7260ddc7a4c25b1745ef9190e /syslogd.c | |
parent | dfe12b03eb40535d3393239d9acac155c82ab8f6 (diff) | |
download | rsyslog-dd63b41327430cbd08067511544956ded4a0f726.tar.gz rsyslog-dd63b41327430cbd08067511544956ded4a0f726.tar.xz rsyslog-dd63b41327430cbd08067511544956ded4a0f726.zip |
added new property "syslogseverity"
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3407,7 +3407,7 @@ static char *MsgGetProp(struct msg *pMsg, struct templateEntry *pTpe, pRes = "1"; /* always 1 for syslog messages (a MonitorWare thing;)) */ } else if(!strcmp(pName, "syslogfacility")) { pRes = getFacility(pMsg); - } else if(!strcmp(pName, "syslogpriority")) { + } else if(!strcmp(pName, "syslogseverity") || !strcmp(pName, "syslogpriority")) { pRes = getSeverity(pMsg); } else if(!strcmp(pName, "timegenerated")) { pRes = getTimeGenerated(pMsg, pTpe->data.field.eDateFormat); |