[Pcsclite-cvs-commit] r6445 - /trunk/PCSC/src/debuglog.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Aug 24 08:27:10 UTC 2012


Author: rousseau
Date: Fri Aug 24 08:27:10 2012
New Revision: 6445

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6445
Log:
Increase DEBUG_BUF_SIZE to avoid log lines truncations

Increase the value from 160 to 2048. Some "long" log lines where
truncated.

Example:
Aug 24 10:22:39 neo pcscd: readerfactory.c:978:RFInitializeReader() Attempting startup of Gemalto PC Twin Reader (70D7E2EE) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Lin

Modified:
    trunk/PCSC/src/debuglog.c

Modified: trunk/PCSC/src/debuglog.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/debuglog.c?rev=6445&op=diff
==============================================================================
--- trunk/PCSC/src/debuglog.c (original)
+++ trunk/PCSC/src/debuglog.c Fri Aug 24 08:27:10 2012
@@ -81,7 +81,7 @@
 /**
  * Max string size dumping a maxmium of 2 lines of 80 characters
  */
-#define DEBUG_BUF_SIZE 160
+#define DEBUG_BUF_SIZE 2048
 
 static char LogMsgType = DEBUGLOG_NO_DEBUG;
 static char LogCategory = DEBUG_CATEGORY_NOTHING;




More information about the Pcsclite-cvs-commit mailing list