X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=tid%2Fexample%2Ftidc_main.c;h=9f270186d3545c95a792cec1a6498c6c1cde8557;hb=45c8d1e8259cae6eaaee3b4a66660a9aa92b1d5b;hp=3088e6bb582667047a26b0649dc12bba4c62d6df;hpb=031c062fe34166b437ae271372d0c2bc8a21b208;p=trust_router.git diff --git a/tid/example/tidc_main.c b/tid/example/tidc_main.c index 3088e6b..9f27018 100644 --- a/tid/example/tidc_main.c +++ b/tid/example/tidc_main.c @@ -37,6 +37,7 @@ #include #include +#include #include #include @@ -98,7 +99,11 @@ int main (int argc, int rc; gss_ctx_id_t gssctx; + /* set logging levels */ talloc_set_log_stderr(); + tr_log_threshold(LOG_CRIT); + tr_console_threshold(LOG_DEBUG); + /* Parse command-line arguments */ if (argc < 5 || argc > 6) { tidc_print_usage(argv[0]);