summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-06-18 10:08:08 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-06-18 10:08:08 +0000
commitdd63b41327430cbd08067511544956ded4a0f726 (patch)
tree4e2e8afb7464c4d7260ddc7a4c25b1745ef9190e /syslogd.c
parentdfe12b03eb40535d3393239d9acac155c82ab8f6 (diff)
downloadrsyslog-dd63b41327430cbd08067511544956ded4a0f726.tar.gz
rsyslog-dd63b41327430cbd08067511544956ded4a0f726.tar.xz
rsyslog-dd63b41327430cbd08067511544956ded4a0f726.zip
added new property "syslogseverity"
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index 236e45b9..101df479 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -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);