From: mquinson Date: Thu, 23 Jun 2005 14:42:12 +0000 (+0000) Subject: Reduce the default amount of logs X-Git-Tag: v3.3~3972 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5dceec8cbba80b23254db15e36f71edd425bc725 Reduce the default amount of logs git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1383 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Virtu/sg_process.c b/src/gras/Virtu/sg_process.c index 1b3790bac3..281943460a 100644 --- a/src/gras/Virtu/sg_process.c +++ b/src/gras/Virtu/sg_process.c @@ -91,7 +91,7 @@ gras_process_exit() { xbt_assert0(hd,"Run gras_process_init (ie, gras_init)!!"); - INFO2("GRAS: Finalizing process '%s' (%d)", + VERB2("GRAS: Finalizing process '%s' (%d)", MSG_process_get_name(MSG_process_self()),MSG_process_self_PID()); if (xbt_dynar_length(msg_pd->msg_queue)) diff --git a/src/xbt/log.c b/src/xbt/log.c index 8303e17151..0b99261594 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -319,9 +319,9 @@ static void _apply_control(xbt_log_category_t cat) { xbt_log_threshold_set(cat, setting->thresh); xbt_dynar_cursor_rm(xbt_log_settings,&cursor); - if (cat->threshold <= xbt_log_priority_verbose) { + if (cat->threshold <= xbt_log_priority_debug) { s_xbt_log_event_t _log_ev = - {cat,xbt_log_priority_verbose,__FILE__,_XBT_GNUC_FUNCTION,__LINE__}; + {cat,xbt_log_priority_debug,__FILE__,_XBT_GNUC_FUNCTION,__LINE__}; _xbt_log_event_log(&_log_ev, "Apply settings for category '%s': set threshold to %s (=%d)", cat->name,