I had to add an include of scsi_logging.h to compile with logging configured:
Attach a file by drag & drop or click to upload