Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
raising errors now use logging and not printf. We thus need a default log channel...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 23 Jun 2005 15:21:04 +0000 (15:21 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 23 Jun 2005 15:21:04 +0000 (15:21 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1398 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/gras/trp_file_client.c
testsuite/gras/trp_file_server.c
testsuite/gras/trp_tcp_client.c
testsuite/gras/trp_tcp_server.c
testsuite/xbt/config_usage.c

index 91c4b4e..f320a01 100644 (file)
@@ -11,7 +11,7 @@
 #include "gras.h"
 #include "gras/Transport/transport_interface.h"
 
-/* XBT_LOG_NEW_DEFAULT_CATEGORY(test); */
+XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging for this test");
 
 int main(int argc,char *argv[]) {
   gras_socket_t sock;
index 8db302f..0d520d3 100644 (file)
@@ -11,7 +11,7 @@
 #include "gras.h"
 #include "gras/Transport/transport_interface.h"
 
-/*XBT_LOG_NEW_DEFAULT_CATEGORY(test);*/
+XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging for this test");
 
 int main(int argc,char *argv[]) {
   gras_socket_t sock, conn;
index f0db530..39a7d44 100644 (file)
@@ -11,7 +11,7 @@
 #include "gras.h"
 #include "gras/Transport/transport_interface.h"
 
-/*XBT_LOG_NEW_DEFAULT_CATEGORY(test);*/
+XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging for this test");
 
 int main(int argc,char *argv[]) {
   gras_socket_t sock;
index 729d056..3d92797 100644 (file)
@@ -11,7 +11,7 @@
 #include "gras.h"
 #include "gras/Transport/transport_interface.h"
 
-/*XBT_LOG_NEW_DEFAULT_CATEGORY(test);*/
+XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging for this test");
 
 int main(int argc,char *argv[]) {
   gras_socket_t sock, conn;
index 46fca21..5fafedb 100644 (file)
@@ -10,6 +10,8 @@
 #include <stdio.h>
 #include "gras.h"
 
+XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging for this test");
+
 /*====[ Code ]===============================================================*/
 static xbt_cfg_t make_set(){
   xbt_cfg_t set=NULL;