diff --git a/src/dhtrunner.cpp b/src/dhtrunner.cpp
index f5a4aced247cb95f5c51ddc0cc29b1514fee5a11..51468ca35ee6dede390fd6852f95bbdce1ae79d0 100644
--- a/src/dhtrunner.cpp
+++ b/src/dhtrunner.cpp
@@ -705,8 +705,8 @@ DhtRunner::loop_()
             rcv_free.splice(rcv_free.end(), std::move(received_treated));
     }
 
-    if (dropped)
-        std::cerr << "Dropped " << dropped << " packets with high delay" << std::endl;
+    if (dropped && logger_)
+        logger_->e("[runner %p] Dropped %zu packets with high delay.", this, dropped);
 
     NodeStatus nstatus4 = dht->updateStatus(AF_INET);
     NodeStatus nstatus6 = dht->updateStatus(AF_INET6);