Hello,

OpenSC as a library doesn't need it's own logging system. Such things
are better placed at application level. If debugging is necessary, then
'export OPENSC_DEBUG=9' + pkcs11-spy works for me.

What would be the advantage of having logs of different instances of
OpenSC intermixed in a single file?

Regards
Andre

On Thu, 2011-01-13 at 16:14 +0100, Viktor TARASOV wrote:
> Hi,
> 
> what do you think about possibility to configure content of the log message.
> 
> I mean something like this in 'opensc.conf':
> 
> app default {
>          log_level = debug;
>          log debug  {
>                  debug = 8;
>                  debug_file = /tmp/opensc-debug.log;
> 
>                  print_pid = false;     #default true
>                  print_timestamp = false; #default true
>                  print_app_name = false; #default true
>          }
> ...
> 
> 
> Kind wishes,
> Viktor.
> 
> 
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to