You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by er...@apache.org on 2019/02/11 13:10:44 UTC

[celix] branch feature/CELIX-459-pubsub-hums updated: CELIX-460: Report msg id as hexadecimal

This is an automated email from the ASF dual-hosted git repository.

erjanaltena pushed a commit to branch feature/CELIX-459-pubsub-hums
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/feature/CELIX-459-pubsub-hums by this push:
     new 340e87a  CELIX-460: Report msg id as hexadecimal
340e87a is described below

commit 340e87af8cb4dc2de78aaf64e421170fe48d4ada
Author: Erjan Altena <er...@gmail.com>
AuthorDate: Mon Feb 11 14:10:34 2019 +0100

    CELIX-460: Report msg id as hexadecimal
---
 bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c b/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c
index be18131..3ca41f5 100644
--- a/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c
+++ b/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c
@@ -1146,7 +1146,7 @@ static celix_status_t pubsub_topologyManager_metrics(pubsub_topology_manager_t *
                     char uuidStr[UUID_STR_LEN+1];
                     uuid_unparse(rm->msgTypes[j].origins[m].originUUID, uuidStr);
                     fprintf(os, "   |- Message '%s' from framework UUID %s:\n", rm->msgTypes[j].typeFqn, uuidStr);
-                    fprintf(os, "      |- msg type = %i\n", rm->msgTypes[j].typeId);
+                    fprintf(os, "      |- msg type = 0x%X\n", rm->msgTypes[j].typeId);
                     fprintf(os, "      |- receive count = %li\n", rm->msgTypes[j].origins[m].nrOfMessagesReceived);
                     fprintf(os, "      |- serialization error = %li\n", rm->msgTypes[j].origins[m].nrOfSerializationErrors);
                     fprintf(os, "      |- missing seq numbers = %li\n", rm->msgTypes[j].origins[m].nrOfMissingSeqNumbers);