Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid to define log categories twice.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 27 Jan 2021 13:18:18 +0000 (14:18 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 27 Jan 2021 14:16:14 +0000 (15:16 +0100)
examples/c/io-disk-raw/io-disk-raw.c
examples/s4u/io-disk-raw/s4u-io-disk-raw.cpp
examples/smpi/replay/replay.cpp

index c6e4fa7..4a09da3 100644 (file)
@@ -15,7 +15,7 @@
 #include <stddef.h>
 #include <stdlib.h>
 
-XBT_LOG_NEW_DEFAULT_CATEGORY(disk, "Messages specific for this simulation");
+XBT_LOG_NEW_DEFAULT_CATEGORY(disk_example, "Messages specific for this simulation");
 
 static void host(int argc, char* argv[])
 {
index 7d69d36..4b36beb 100644 (file)
@@ -7,7 +7,7 @@
 #include <string>
 #include <unordered_map>
 
-XBT_LOG_NEW_DEFAULT_CATEGORY(disk, "Messages specific for this simulation");
+XBT_LOG_NEW_DEFAULT_CATEGORY(disk_test, "Messages specific for this simulation");
 
 static void host()
 {
index 441c991..a71fd99 100644 (file)
@@ -10,7 +10,7 @@
 #include "xbt/str.h"
 
 #include "xbt/log.h"
-XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
+XBT_LOG_NEW_DEFAULT_CATEGORY(replay_test, "Messages specific for this msg example");
 
 /* This shows how to extend the trace format by adding a new kind of events.
    This function is registered through xbt_replay_action_register() below. */