Просмотр исходного кода

Small logging improvement for subscriptions

Julius Pfrommer лет назад: 6
Родитель
Сommit
3354b45980
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/ua_services_subscription.c

+ 1 - 1
src/server/ua_services_subscription.c

@@ -102,7 +102,7 @@ Service_CreateSubscription(UA_Server *server, UA_Session *session,
     response->revisedMaxKeepAliveCount = newSubscription->maxKeepAliveCount;
 
     UA_LOG_INFO_SESSION(server->config.logger, session, "Subscription %u | "
-                        "Created the Subscription with a publishing interval of %f ms",
+                        "Created the Subscription with a publishing interval of %.2f ms",
                         response->subscriptionId, newSubscription->publishingInterval);
 }