bool stats;
const char* testCaseName;
GString* analysisModulesNames;
+ unsigned int id;
// Initialize data structures
syncState= malloc(sizeof(SyncState));
else
{
syncState->stats= false;
- g_log_set_handler(NULL, G_LOG_LEVEL_DEBUG, nullLog, NULL);
+ id= g_log_set_handler(NULL, G_LOG_LEVEL_DEBUG, nullLog, NULL);
}
if (optionSyncGraphs.present)
endUsage.ru_stime.tv_usec);
}
+ if (!optionSyncStats.present)
+ {
+ g_log_remove_handler(NULL, id);
+ }
+
return EXIT_SUCCESS;
}