Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
[simgrid.git] / src / xbt / log_default_appender.c
index afbf413..0126353 100644 (file)
@@ -12,8 +12,6 @@
 #include <stdio.h>
 #include "gras/virtu.h"
 
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(log_app,log,"default logging handler");
-
 /**
  * The root category's default logging function.
  */
@@ -43,7 +41,7 @@ static const char* xbt_logappender_verbose_information(void) {
     begin_of_time=gras_os_time();
 
   if(strlen(xbt_procname()))
-    sprintf(buffer,"%s:%s:(%d) %f", gras_os_myname(),
+    sprintf(buffer,"%s:%s:(%ld) %f", gras_os_myname(),
            xbt_procname(),gras_os_getpid(),gras_os_time()-begin_of_time);
   else 
     buffer[0]=0;