#language en ||~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/ScsiLogging|Italiano]]-~|| (!) [[/Discussion|Discussion]]|| ---- == Adjusting SCSI logging levels in 2.6 == In 2.4. the SCSI logging facility was controlled via {{{/proc/scsi/scsi}}}, e.g. {{{ $ echo scsi log scan 3 >/proc/scsi/scsi }}} This was removed in 2.6 (only "echo scsi add-single-device..." remains). The logging level is now controlled through {{{/proc/sys/dev/scsi/logging_level}}}. Modifying the loglevel through that new API is difficult because loglevels must be calculated from the different log facilities (see {{{drivers/scsi/scsi_logging.h}}} in the kernel sources). Here is a small perl script: [[attachment:scsilog.pl]] that works for 2.6.0 - 2.6.14 (and possibly later), similar to the 2.4 interface. Run it like this: {{{ $ scsilog.pl scan 3 $ scsilog.pl ALL 1 }}} ---- CategoryDebugging