A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update workstation handling in SimDag. Change the prefix of SimDag functions with...
[simgrid.git]
/
src
/
xbt
/
log_default_appender.c
diff --git
a/src/xbt/log_default_appender.c
b/src/xbt/log_default_appender.c
index
afbf413
..
44302a0
100644
(file)
--- a/
src/xbt/log_default_appender.c
+++ b/
src/xbt/log_default_appender.c
@@
-12,8
+12,6
@@
#include <stdio.h>
#include "gras/virtu.h"
#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.
*/
/**
* The root category's default logging function.
*/
@@
-43,10
+41,10
@@
static const char* xbt_logappender_verbose_information(void) {
begin_of_time=gras_os_time();
if(strlen(xbt_procname()))
begin_of_time=gras_os_time();
if(strlen(xbt_procname()))
- sprintf(buffer,"%s:%s:(%d) %f", gras_os_myname(),
+ sprintf(buffer,"%s:%s:(%
l
d) %f", gras_os_myname(),
xbt_procname(),gras_os_getpid(),gras_os_time()-begin_of_time);
else
xbt_procname(),gras_os_getpid(),gras_os_time()-begin_of_time);
else
-
buffer[0]=0
;
+
sprintf(buffer,"%f", gras_os_time()-begin_of_time)
;
return buffer;
}
return buffer;
}