From: mquinson Date: Thu, 20 Aug 2009 13:53:29 +0000 (+0000) Subject: Connect the surf_routing log channel so that it becomes usable (shows a bug in log... X-Git-Tag: SVN~1064 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b22de59cef475b7e699bd17f8e5ee19806994ce5 Connect the surf_routing log channel so that it becomes usable (shows a bug in log maybe, I thought it was only mandatory on windows, not linux) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6616 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/surf.c b/src/surf/surf.c index ecc9f70b08..deebe97e80 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -234,6 +234,7 @@ XBT_LOG_EXTERNAL_CATEGORY(surf_parse); XBT_LOG_EXTERNAL_CATEGORY(surf_timer); XBT_LOG_EXTERNAL_CATEGORY(surf_workstation); XBT_LOG_EXTERNAL_CATEGORY(surf_config); +XBT_LOG_EXTERNAL_CATEGORY(surf_routing); #ifdef HAVE_GTNETS @@ -254,6 +255,7 @@ void surf_init(int *argc, char **argv) XBT_LOG_CONNECT(surf_timer, surf); XBT_LOG_CONNECT(surf_workstation, surf); XBT_LOG_CONNECT(surf_config, surf); + XBT_LOG_CONNECT(surf_routing, surf); #ifdef HAVE_GTNETS XBT_LOG_CONNECT(surf_network_gtnets, surf); diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index d2338f47a0..7f042e7601 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -11,7 +11,7 @@ #include "xbt/graph.h" #include "xbt/set.h" -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route,surf,"Routing part of surf");// FIXME: connect this under windows +XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route,surf,"Routing part of surf"); routing_t used_routing = NULL;