Re: [opensc-devel] Short form for the log message

2011-01-04 Thread Juan Antonio Martinez
[ ... ] > Going for log4c or similar would IMHO be a total overkill, > as is implementing anything internal that is designed for RFU. > Focus should be on things related to smart cards, not logging :) > If you want debug logging, too much is better than too little > (you can always use grep). Und

Re: [opensc-devel] Short form for the log message

2011-01-04 Thread Viktor TARASOV
On 04.01.2011 11:35, Martin Paljak wrote: > On Jan 4, 2011, at 12:22 PM, Viktor TARASOV wrote: >> My humble intention is to have the possibility to reduce the 'header' of the >> every debug message call in the source code, >> that actually, for my personal taste, is too large. > Same here. I would

Re: [opensc-devel] Short form for the log message

2011-01-04 Thread Martin Paljak
Hello, On Jan 4, 2011, at 12:22 PM, Viktor TARASOV wrote: > There has been more then one wide discussion about log system in OpenSC , > and I would not like to start the new one. Agreed. > My humble intention is to have the possibility to reduce the 'header' of the > every debug message call in

Re: [opensc-devel] Short form for the log message

2011-01-04 Thread Martin Paljak
Hello, This has been discussed before, see the thread from March 2010 [1] and possibly earlier threads. On Jan 4, 2011, at 11:58 AM, Juan Antonio Martinez wrote: > El lun, 03-01-2011 a las 13:01 +0100, Viktor TARASOV escribió: >> Hi, >> >> I propose to introduce the following short form to in

Re: [opensc-devel] Short form for the log message

2011-01-04 Thread Viktor TARASOV
On 04.01.2011 10:58, Juan Antonio Martinez wrote: > El lun, 03-01-2011 a las 13:01 +0100, Viktor TARASOV escribió: >> Hi, >> >> I propose to introduce the following short form to insert debug messages of >> the 'normal' level. >> Any objections? > Fine, but thinks that we need a way to get finer d

Re: [opensc-devel] Short form for the log message

2011-01-04 Thread Juan Antonio Martinez
El lun, 03-01-2011 a las 13:01 +0100, Viktor TARASOV escribió: > Hi, > > I propose to introduce the following short form to insert debug messages of > the 'normal' level. > Any objections? Fine, but thinks that we need a way to get finer debug tuning: Not sure... perhaps it's time for introduct

[opensc-devel] Short form for the log message

2011-01-03 Thread Viktor TARASOV
Hi, I propose to introduce the following short form to insert debug messages of the 'normal' level. Any objections? Kind wishes, Viktor. Index: src/libopensc/log.c === --- src/libopensc/log.c (révision 5031) +++ src/libopensc/log.