X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1c413ffb9aa79a5a693433a5631595fe15581537..4bd1f48f0bf1ad1703be680ec2a38d626c6a2668:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 87c557a27b..30d72a92e6 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -1,6 +1,6 @@ /* log - a generic logging facility in the spirit of log4j */ -/* Copyright (c) 2004-2015. The SimGrid Team. +/* Copyright (c) 2004-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -199,6 +199,8 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(s4u_channel); XBT_LOG_CONNECT(s4u_comm); XBT_LOG_CONNECT(s4u_file); + XBT_LOG_CONNECT(s4u_link); + XBT_LOG_CONNECT(s4u_vm); /* sg */ XBT_LOG_CONNECT(sg_host); @@ -220,6 +222,7 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(simix_host); XBT_LOG_CONNECT(simix_io); XBT_LOG_CONNECT(simix_kernel); + XBT_LOG_CONNECT(simix_mailbox); XBT_LOG_CONNECT(simix_network); XBT_LOG_CONNECT(simix_process); XBT_LOG_CONNECT(simix_popping); @@ -235,6 +238,7 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(surf_cpu_cas); XBT_LOG_CONNECT(surf_cpu_ti); XBT_LOG_CONNECT(surf_energy); + XBT_LOG_CONNECT(surf_file); XBT_LOG_CONNECT(surf_kernel); XBT_LOG_CONNECT(surf_lagrange); XBT_LOG_CONNECT(surf_lagrange_dichotomy); @@ -244,6 +248,7 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(ns3); #endif XBT_LOG_CONNECT(surf_parse); + XBT_LOG_CONNECT(surf_plugin_load); XBT_LOG_CONNECT(surf_route); XBT_LOG_CONNECT(surf_routing_generic); XBT_LOG_CONNECT(surf_route_cluster); @@ -816,9 +821,10 @@ static void xbt_log_help(void) " -> warning: minor issue encountered\n" " -> error: issue encountered\n" " -> critical: major issue encountered\n" + " The default priority level is 'info'.\n" "\n" - " Format configuration: --log=CATEGORY_NAME.fmt:OPTIONS\n" - " OPTIONS may be:\n" + " Format configuration: --log=CATEGORY_NAME.fmt:FORMAT\n" + " FORMAT string may contain:\n" " -> %%%%: the %% char\n" " -> %%n: platform-dependent line separator (LOG4J compatible)\n" " -> %%e: plain old space (SimGrid extension)\n"