[sane-devel] My entry for this years Most Stupid Question....

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 6 Nov 2002 19:14:55 +0100


Hi,

On Wed, Nov 06, 2002 at 05:36:52PM +0000, Nick Lindsell wrote:
> How do I make use of the debug output built into
> the sane backends (specifically the Epson backend)?
> 
> I see in the code statements like:-
> DBG(7 "receive= %s, expected=%s", foo, bar);

The debug level is controlled by environment variables. For the epson
backend and bash, e.g.:

SANE_DEBUG_EPSON=7 scanimage -L

See man sane and man sane-epson for details.

Bye,
  Henning