UnixSyslogInterface.st
changeset 23331 0bf0201d8ac0
parent 23326 b1abe05f0398
child 23464 df4a38b0c657
--- a/UnixSyslogInterface.st	Tue Sep 11 18:39:34 2018 +0200
+++ b/UnixSyslogInterface.st	Wed Sep 12 12:31:38 2018 +0200
@@ -384,7 +384,9 @@
     UseCommand ifTrue:[
         "if we do not support FFI, use a comman interface"
         OperatingSystem 
-            executeCommand:('/usr/bin/logger --id=%1 -p %2.%3' 
+"/ --id doesn't work with RedHat 7.0
+"/            executeCommand:('/usr/bin/logger --id=%1 -p %2.%3' 
+            executeCommand:('/usr/bin/logger -p %2.%3' 
                              bindWith:OperatingSystem getProcessId 
                                  with:DefaultSyslogFacilityString with:(PriorityToStringMapping at:priority+1))
             inputFrom:messageAsSent readStream
@@ -405,7 +407,7 @@
     "
 
     "Created: / 28-06-2018 / 11:08:04 / Stefan Vogel"
-    "Modified: / 11-09-2018 / 18:15:00 / Stefan Vogel"
+    "Modified: / 12-09-2018 / 12:31:13 / Stefan Vogel"
 ! !
 
 !UnixSyslogInterface class methodsFor:'queries'!