From: mquinson Date: Tue, 7 Aug 2007 19:58:38 +0000 (+0000) Subject: Do not display the thread name by default. In SG, this is the process name, and if... X-Git-Tag: v3.3~1336 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1c874ce0965690e44734ddf63afa1f106a24f7ce?hp=49c66599a16037090462b50df22bc1c7f14db56b Do not display the thread name by default. In SG, this is the process name, and if I add this explicitly, I'll have to revalidate all the testsuite (after fixing the fact that this value is not defined in SG) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4024 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/xbt_log_layout_simple.c b/src/xbt/xbt_log_layout_simple.c index adc5da593b..2a84a5d4e0 100644 --- a/src/xbt/xbt_log_layout_simple.c +++ b/src/xbt/xbt_log_layout_simple.c @@ -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(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);