Pretty simple.  Assume that you build the kernel with logging enabled.
Then try something like:

    echo "scsi log all" > /proc/scsi/scsi

to turn on *everything*.   Try

    echo "scsi log none" > /proc/scsi/scsi

to turn it all off.   It is possible to get a fairly fine grained control
over logging - you can do something like:

    echo "scsi log llqueue 3" > /proc/scsi/scsi

to only turn on logging for low-level queueing, and set the log level to 3.

    There is more information on the page I had up when I originally redid
the error handling (as this is when it was introduced) - see
http://www.andante.org/scsi_error.html, and then check "description of
logging".

-Eric

----- Original Message -----
From: Raju K V <[EMAIL PROTECTED]>
To: Linux SCSI mailing list <[EMAIL PROTECTED]>
Sent: Monday, September 06, 1999 11:00 PM
Subject: how to enable scsi logging?


> hi all,
>
> how do I enable scsi logging? Do I have to set some flag and recompile
> the kernel or is there a /proc/scsi interface to it?
>
> Thanks in advance,
> Raju
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to [EMAIL PROTECTED]
>


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to