Andreas Jellinghaus wrote:
> Hi,
>
> the debug log files include the line number.
> I hope the combination of file+function+message
> is unique, wo we can drop the line number.
>
> When we face problems with a new version of opensc,
> it is often helpfull to ask, if something worked
> with an older version, and to get two debug log
> files, so we can compare them.
>
> But when we do this, the log files are very different,
> because some change in the meantime moved code up
> or down a few lines. So I always used sed to remove
> the line number as first thing with such log files,
> so I can use diff or similar tools to compare the
> log files and show me where the difference is.
>
> So I don't remember when the line number was of any help,
> but I remember several cases, where it caused extra work
> for me. Thus here is the discussion: maybe we want to
> get rid of it?
>
> I'd be for that. what is your preference?
>   


For me it's quite useful at the developing stage .

Probably the debug line content can be made configurable?
I mean to make optional 'pid', 'time', 'process name', 'line', ...


> Regards, Andreas
>   

Kind wishes,
Viktor.



-- 
Viktor Tarasov  <viktor.tara...@opentrust.com>

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

Reply via email to