From ccac72b8eef53d394112660c8cf5ea9a5b4dc7b7 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 29 Dec 2009 13:19:43 +0000 Subject: [PATCH] No need for the colon git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14985 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc b/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc index 87e4df6cd..9596f9341 100644 --- a/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc +++ b/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc @@ -229,6 +229,7 @@ class rsyslog extends plugin $attrs['DeviceReportedTime']= $this->time2local($attrs['DeviceReportedTime']); $attrs['Facility']= $this->facility2string($attrs['Facility']); $attrs['Priority']= $this->severity2string($attrs['Priority']); + $attrs['SysLogTag']= preg_replace("/:$/", "", $attrs['SysLogTag']); $result['entries'][] = $attrs; } $this->servers[$name]['status'] = "ok"; -- 2.30.2