From: mquinson Date: Sat, 3 Jul 2004 03:08:32 +0000 (+0000) Subject: Create a new log channel tbx containing dict, set, log, dynar, config (to shut X-Git-Tag: v3.3~5201 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6d22c8d5405eacbdf9d78257bcf999279ba7e780?ds=sidebyside Create a new log channel tbx containing dict, set, log, dynar, config (to shut them all up in one shot) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@145 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/changelog b/changelog index 0cb9047554..f96da964ee 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ -TODO: +2004-07-03 + - Create a new log channel tbx containing dict, set, log, dynar (to shut + them all up in one shot) 2004-06-21 [Transport] diff --git a/src/xbt/config.c b/src/xbt/config.c index a74d572dcd..77a1a8bbd7 100644 --- a/src/xbt/config.c +++ b/src/xbt/config.c @@ -12,7 +12,7 @@ #include "gras_private.h" /* prototypes of this module */ -GRAS_LOG_NEW_DEFAULT_CATEGORY(config); +GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(config,tbx); /* gras_cfgelm_t: the typedef corresponding to a config cell. diff --git a/src/xbt/dict.c b/src/xbt/dict.c index 1e8ccdb009..d62ec7f25b 100644 --- a/src/xbt/dict.c +++ b/src/xbt/dict.c @@ -17,7 +17,7 @@ #include -GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dict,GRAS); +GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dict,tbx); /*####[ Private prototypes ]#################################################*/ diff --git a/src/xbt/dynar.c b/src/xbt/dynar.c index b039d3495f..8a65bc58ee 100644 --- a/src/xbt/dynar.c +++ b/src/xbt/dynar.c @@ -10,8 +10,7 @@ #include "gras_private.h" - -GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dynar,GRAS); +GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dynar,tbx); struct gras_dynar_s { size_t size; diff --git a/src/xbt/log.c b/src/xbt/log.c index e55a4c0a07..37c978ca77 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -48,7 +48,8 @@ gras_log_category_t _GRAS_LOGV(GRAS_LOG_ROOT_CAT) = { NULL, 0 }; GRAS_LOG_NEW_SUBCATEGORY(GRAS,GRAS_LOG_ROOT_CAT); -GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(log,GRAS); +GRAS_LOG_NEW_SUBCATEGORY(tbx,GRAS); +GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(log,tbx); static void _apply_control(gras_log_category_t* cat) { diff --git a/src/xbt/set.c b/src/xbt/set.c index 1827c30cb0..47ef8d3860 100644 --- a/src/xbt/set.c +++ b/src/xbt/set.c @@ -10,7 +10,7 @@ #include "gras_private.h" -GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(set,GRAS); +GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(set,tbx); /*####[ Type definition ]####################################################*/ struct gras_set_ {