Am Dienstag 16 März 2010 17:36:31 schrieb Viktor TARASOV:
> is it wanted that now, when using 'pkcs15-init' tool,
> the more-then-once-verbose debug log goes onto 'stderr' ?

a...@yomigaeri:~/projects/opensc/opensc/src/tools$ grep debug_file *.c
opensc-explorer.c:                      ctx->debug_file = stdout;
opensc-explorer.c:                      ctx->debug_file = NULL;
pkcs15-init.c:          ctx->debug_file = stderr;

only pkcs15-init.c and opensc-explorer.c set the debug_file.
yes, pkcs15-init will set it to stderr.

Maybe we should have a uniform handling for all tools?
It is strange if one tool does this, and the others don't.

Also: shall we override the setting from opensc.conf?
You can set debug level and debug_file there too.

Regards, Andreas
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to