소스 검색

Small logging improvement for subscriptions

Julius Pfrommer 6 년 전
부모
커밋
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);
 }