<div dir="ltr">Hi<div><br></div><div style>To avoid getting too much data in the syslog I usually have debug level 3 (INFO). But I still get a lot of information about buttons not pressed.</div><div style><br></div><div style>

Could this patch be added? It report button pressed from INFO level and up, and it report all buttons in DEBUG level.</div><div style><br></div><div style><div>--- trunk/src/scanbd/sane.c     (revision 172)</div><div>+++ trunk/src/scanbd/sane.c     (working copy)</div>

<div>@@ -798,7 +798,7 @@</div><div>                 }</div><div>             }</div><div> </div><div>-            slog(SLOG_INFO, "checking option %s number %d (%d) for device %s: value: %d",</div><div>+            slog(value.num_value ? SLOG_INFO : SLOG_DEBUG, "checking option %s number %d (%d) for device %s: value: %d",</div>

<div>                  odesc->name, st->opts[si].number, si,</div><div>                  st->dev->name, value);</div><div><br></div><div style>...or something like that.</div><div style><br></div><div style>/hans</div>

</div></div>