[Pcsclite-cvs-commit] r2732 - /trunk/PCSC/src/debug.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jan 12 13:38:43 UTC 2008


Author: rousseau
Date: Sat Jan 12 13:38:43 2008
New Revision: 2732

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2732
Log:
default log level is PCSC_LOG_CRITICAL+1 so that NO log is sent to
stderr by default. You need to explicitely set PCSCLITE_DEBUG to have
logs.  (in a library stderr(2) can be any file opened with fd=2 so
should not be used)

Modified:
    trunk/PCSC/src/debug.c

Modified: trunk/PCSC/src/debug.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/debug.c?rev=2732&op=diff
==============================================================================
--- trunk/PCSC/src/debug.c (original)
+++ trunk/PCSC/src/debug.c Sat Jan 12 13:38:43 2008
@@ -26,7 +26,7 @@
 #define DEBUG_BUF_SIZE 2048
 
 /* default level is a bit verbose to be backward compatible */
-static char LogLevel = PCSC_LOG_ERROR;
+static char LogLevel = PCSC_LOG_CRITICAL+1;
 
 static signed char LogDoColor = 0;	/* no color by default */
 void log_init(void);




More information about the Pcsclite-cvs-commit mailing list