#include "gras_private.h"
-GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(module,GRAS);
+GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(module,gros, "module handling");
extern void gras_log_exit(void);
static int gras_running_process = 0;
found = 1;
opt=strchr(argv[i],'=');
opt++;
- TRYFAIL(gras_log_control_set(opt));
+ gras_log_control_set(opt);
DEBUG1("Did apply '%s' as log setting",opt);
/*remove this from argv*/
for (j=i+1; j<*argc; j++) {
argv[j-1] = NULL;
(*argc)--;
i--; /* compensate effect of next loop incrementation */
- WARN1("argc %d",*argc);
}
}
if (!found && defaultlog) {
- TRYFAIL(gras_log_control_set(defaultlog));
+ gras_log_control_set(defaultlog);
}
gras_process_init(); /* calls procdata_init, which calls dynar_new */