Index: trunk/BNC/src/pppThread.cpp
===================================================================
--- trunk/BNC/src/pppThread.cpp	(revision 11057)
+++ trunk/BNC/src/pppThread.cpp	(revision 11185)
@@ -62,6 +62,6 @@
   connect(this, SIGNAL(finished()), this, SLOT(deleteLater()));
 
-  connect(this, SIGNAL(newMessage(QByteArray,bool)),
-          BNC_CORE, SLOT(slotMessage(const QByteArray,bool)));
+  BNC_CORE->connectMessages(this, "ppp");
+  BNC_CORE->connectLogRecords(this, "ppp");
 }
 
@@ -89,5 +89,5 @@
     _pppRun = 0;
     _ready.release();
-    emit newMessage(QByteArray(exc.what().c_str()), true);
+    emit newLogRecord(t_logRecord::message(t_logRecord::error, QByteArray(exc.what().c_str())), true);
   }
 }
