MiniLogger.st
changeset 20492 862c7e4b0964
parent 20491 692f8c7c92f4
child 20504 55cf60d4118e
child 20578 39641ba8d6e0
--- a/MiniLogger.st	Sat Oct 01 15:14:21 2016 +0200
+++ b/MiniLogger.st	Sat Oct 01 15:19:36 2016 +0200
@@ -774,7 +774,7 @@
         facility := words first.
         severityName := words second copyButFirst.
         severityName := severityName copyTo:(severityName indexOf:$])-1.
-        messageProperlyEncoded := messageProperlyEncoded copyFrom:(message indexOf:$])+1.
+        messageProperlyEncoded := messageProperlyEncoded copyFrom:(messageProperlyEncoded indexOf:$])+1.
         messageProperlyEncoded := messageProperlyEncoded withoutSeparators.
         (messageProperlyEncoded startsWith:$:) ifTrue:[
             messageProperlyEncoded := (messageProperlyEncoded copyFrom:2) withoutSeparators.