diff --git a/src/connectionmanager.cpp b/src/connectionmanager.cpp
index 40755fff5b2a699398eb0424e7f446300a5bd850..6bc9c077aee3a9603bd7cc5a5f0882378151a46f 100644
--- a/src/connectionmanager.cpp
+++ b/src/connectionmanager.cpp
@@ -695,7 +695,7 @@ ConnectionManager::Impl::connectDeviceStartIce(
                             if (l)
                                 l->debug("[device {}] Sent connection request. Put encrypted {:s}",
                                        deviceId,
-                                       (ok ? "ok" : "failed"));
+                                       (ok ? "OK" : "failed"));
                         });
     // Wait for call to onResponse() operated by DHT
     if (isDestroying_) {
@@ -1333,7 +1333,7 @@ ConnectionManager::Impl::answerTo(IceTransport& ice,
                             if (l)
                                 l->debug("[device {}] Answer to connection request: put encrypted {:s}",
                                          from->getLongId(),
-                                         (ok ? "ok" : "failed"));
+                                         (ok ? "OK" : "failed"));
                         });
 }