Hello, On May 6 08:08 Frank Zago wrote: > > > 6. Common debugging bitmask: > > > > 1 major errors > > 2 minor errors > > 4 function start/stop msgs > > 8 function detail msg > > 16 SANE_OPTION processing msgs > > 32 calibration msgs > > 64 outgoing command dump > > 128 incoming data dump > > > > help me fix that... > > > Should these need to be bitmasks ? I think most backends are using > levels instead. Bitmasks are more complicated to use for a normal user, > while a level is pretty simple.
According to my experience, normal users don't care whether the stuff is technically a bitmask or a level. Usually they like to provide one single full debug log file using just the maximum bitmask or level and leave the rest to the experts. Therefore I prefer bitmasks provided that the debug output has appropriate identifiers for each kind of message so that one can easily "grep" for certain kind of messages in a debug log file. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex