From: Daniel KouĊ™il Date: Tue, 28 Mar 2006 22:10:21 +0000 (+0000) Subject: don't let the library calls to log to syslog/stdout X-Git-Tag: glite-security-proxyrenewal_R_1_3_0~20 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=61ab9bd9ad49122b0a20b538f799f10ab193d47c;p=jra1mw.git don't let the library calls to log to syslog/stdout --- diff --git a/org.glite.security.proxyrenewal/examples/renew_core.c b/org.glite.security.proxyrenewal/examples/renew_core.c index 4d9c967..69518ea 100644 --- a/org.glite.security.proxyrenewal/examples/renew_core.c +++ b/org.glite.security.proxyrenewal/examples/renew_core.c @@ -46,9 +46,12 @@ main(int argc, char *argv[]) exit(1); } + ctx->log_dst = GLITE_RENEWAL_LOG_NONE; + ret = glite_renewal_core_renew(ctx, server, 0, proxy, &new_proxy); if (ret) { - fprintf(stderr, "glite_renewal_core_renew() failed: %d\n", ret); + fprintf(stderr, "%s: glite_renewal_core_renew() failed: %s", + argv[0], ctx->err_message); exit(1); }