pcscd can not be startet with log level "info"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pcscd can not be startet with log level "info"

Stein, Maximilian
Hello,

since Version 1.5.5 (2009) the pcscd can not be started with log level
"info" any more. This is because the default debug level was changed
from "info" to "error" in commit [1] and "info" could never be set
explicitly (see [2] and [3]). I agree to the default log level "error",
but sometimes I would like to have the "info" log without the "debug" noise.

The attached patch adds the short command line option '-i' and the
according case in the getopt evaluation loop. '-i' was currently unused,
but I haven't checked if it had a different meaning in earlier Versions.

Best regards
Maximilian

[1] 065ca3de137866e380cbde046b52adc14e012dad
[2] 5a8c65a9b37d7afc992e059ba6b056aae9a8a0c3
[3] b2894ab7874fbd907e62ce526659fdae21818384

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle

Enable-info-level-logging.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: pcscd can not be startet with log level "info"

Ludovic Rousseau
2017-06-06 17:09 GMT+02:00 Maximilian Stein <[hidden email]>:
Hello,

Hello,
 
since Version 1.5.5 (2009) the pcscd can not be started with log level
"info" any more. This is because the default debug level was changed
from "info" to "error" in commit [1] and "info" could never be set
explicitly (see [2] and [3]). I agree to the default log level "error",
but sometimes I would like to have the "info" log without the "debug" noise.

The attached patch adds the short command line option '-i' and the
according case in the getopt evaluation loop. '-i' was currently unused,
but I haven't checked if it had a different meaning in earlier Versions.

Perfect patch.
Thanks

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle