Code

No need for the colon
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Dec 2009 13:19:43 +0000 (13:19 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Dec 2009 13:19:43 +0000 (13:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14985 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc

index 87e4df6cd6f826b8c651029d4e9d42c61b45c229..9596f934105f3a58f9a89a4031341f07c04b928f 100644 (file)
@@ -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";