Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not display the thread name by default. In SG, this is the process name, and if...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Aug 2007 19:58:38 +0000 (19:58 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Aug 2007 19:58:38 +0000 (19:58 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4024 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_log_layout_simple.c

index adc5da5..2a84a5d 100644 (file)
@@ -36,8 +36,8 @@ static char *xbt_log_layout_simple_doit(xbt_log_layout_t l,
   p += sprintf(res,"[");;
   /* Display the proc info if available */
   if(strlen(xbt_procname()))
   p += sprintf(res,"[");;
   /* Display the proc info if available */
   if(strlen(xbt_procname()))
-    p += sprintf(p,"%s:%s:(%d):%s ", 
-                gras_os_myname(), xbt_procname(),(*xbt_getpid)(),xbt_thread_self_name());
+    p += sprintf(p,"%s:%s:(%d) ", 
+                gras_os_myname(), xbt_procname(),(*xbt_getpid)());
 
   /* Display the date */
   p += sprintf(p,"%f] ", gras_os_time()-begin_of_time);
 
   /* Display the date */
   p += sprintf(p,"%f] ", gras_os_time()-begin_of_time);