Commit e94b42109d4a79235e4bee29ad1079457e8976af

Angus Gratton 2013-10-25T15:42:39

Buffering is a debug-level detail not something most people will care about

diff --git a/usbutils.c b/usbutils.c
index a139ea7..ea6159d 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -2471,7 +2471,7 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t
 			memcpy(usbdev->buffer, usbbuf + bufsiz, usbdev->bufamt);
 			tot -= usbdev->bufamt;
 			usbbuf[tot] = '\0';
-			applog(LOG_INFO, "USB: %s%i read1 buffering %d extra bytes",
+			applog(LOG_DEBUG, "USB: %s%i read1 buffering %d extra bytes",
 					cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
 		}
 
@@ -2598,7 +2598,7 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t
 			tot -= usbdev->bufamt;
 			memcpy(usbdev->buffer, usbbuf + tot, usbdev->bufamt);
 			usbbuf[tot] = '\0';
-			applog(LOG_ERR, "USB: %s%i read2 buffering %d extra bytes",
+			applog(LOG_DEBUG, "USB: %s%i read2 buffering %d extra bytes",
 					cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
 		}
 	}