Index: trunk/BNC/src/bncgetthread.cpp
===================================================================
--- trunk/BNC/src/bncgetthread.cpp	(revision 11189)
+++ trunk/BNC/src/bncgetthread.cpp	(revision 11190)
@@ -840,5 +840,5 @@
         t_logRecord rec(t_logRecord::info, "stream", "stream_content", _staID,
                         _staID + ": Received message type " + type.toLatin1() +  size.toLatin1());
-        rec.setStructuredMsg("Received message");
+        rec.setStructuredMsg("Received RTCM message");
         rec.add("message_type", int(decoder()->_typeList[ii]._type));
         if (decoder()->_typeList[ii]._size) {
Index: trunk/BNC/src/bnchelp.html
===================================================================
--- trunk/BNC/src/bnchelp.html	(revision 11189)
+++ trunk/BNC/src/bnchelp.html	(revision 11190)
@@ -2818,7 +2818,7 @@
     <li>'mp': the mountpoint of the stream or the PPP station, if known,</li>
     <li>the fields of the event,</li>
-    <li>'msg': the text of the record in the logfile, without the leading mountpoint ('&lt;mp&gt;: ') and shortened
-        for events whose fields carry the details: 'PPP position' (ppp_position), 'Received message' (message types
-        of the RTCM scan), 'Mean latency' (stream_latency), 'Failure threshold exceeded, outage' / 'corrupted' and
+    <li>'msg': the text of the record in the logfile, without the leading mountpoint ('&lt;mp&gt;: ') and trailing blanks, shortened
+        for events whose fields carry the details: 'PPP position' (ppp_position), 'Received RTCM message' (message types
+        of the RTCM scan), 'Latency' (stream_latency), 'Failure threshold exceeded, outage' / 'corrupted' and
         'Recovery threshold exceeded, outage ended' / 'corruption ended' (stream_outage_*, stream_corrupted_*),</li>
     <li>'v': the version of the record layout, currently 1.</li>
Index: trunk/BNC/src/bnclog.cpp
===================================================================
--- trunk/BNC/src/bnclog.cpp	(revision 11189)
+++ trunk/BNC/src/bnclog.cpp	(revision 11190)
@@ -275,4 +275,8 @@
     msg.remove(0, _stream.size() + 2);
   }
+  // no trailing blanks (e.g. RTCM scan: "Receiver Serial Number: 1831551 ")
+  while (msg.endsWith(' ')) {
+    msg.chop(1);
+  }
 
   QVector<t_field> all;
Index: trunk/BNC/src/latencychecker.cpp
===================================================================
--- trunk/BNC/src/latencychecker.cpp	(revision 11189)
+++ trunk/BNC/src/latencychecker.cpp	(revision 11190)
@@ -567,5 +567,5 @@
   }
   t_logRecord rec(t_logRecord::info, "stream", "stream_latency", _staID, text.toLatin1());
-  rec.setStructuredMsg("Mean latency");
+  rec.setStructuredMsg("Latency");
   rec.add("type", l._type)
      .add("mean", mean, 2)
