X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/d47d44b2ed067c834ef210ad544512e7581a1c8e..147d0e88c4da14c801d15e0875bedb474180bea2:/main.cpp diff --git a/main.cpp b/main.cpp index dbc5b43..314cac2 100644 --- a/main.cpp +++ b/main.cpp @@ -37,8 +37,9 @@ int main(int argc, char *argv[]) simulation_time.start(); - // Set default logging threshold. + // Set default logging parameters // xbt_log_control_set("simu.thres:verbose"); + xbt_log_control_set("simu.fmt:'[%h %r] [%c/%p] %m%n'"); // Initialize some MSG internal data. // Note: MSG_global_init() may throw an exception, but it seems @@ -60,7 +61,7 @@ int main(int argc, char *argv[]) } opt::print(); - TRY { + TRY { exit_status = EXIT_FAILURE_INIT; // ===== // Register the main function of an agent in a global table.