Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill defaultlog of xbt_init
[simgrid.git] / testsuite / gras / trp_file_client.c
index 8985f92..69d7076 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;
@@ -19,7 +19,7 @@ int main(int argc,char *argv[]) {
   char data_send[256];
 
   memset(data_send,0,sizeof(data_send));
-  gras_init(&argc,argv,"trp.thresh=debug");
+  gras_init(&argc,argv);
 
   fprintf(stderr,"===[CLIENT]=== Contact the server\n");
   TRYFAIL(gras_socket_client_from_file("-",&sock));
@@ -31,6 +31,6 @@ int main(int argc,char *argv[]) {
   fprintf(stderr,"===[CLIENT]=== Exiting successfully\n");
   gras_socket_close(sock);
    
-  xbt_exit();
+  gras_exit();
   return 0;
 }