Reduce S3 request logging
Closed this issue · 1 comments
M66B commented
Patch for trunk 20100518 version:
--- s3request_org.cpp 2010-06-09 07:23:25.812378444 +0200 +++ s3request.cpp 2010-06-09 07:27:06.173402565 +0200 @@ -166,7 +166,7 @@ size_t uploadCallback(void *data, size_t { int *fd = static_cast(userPtr); size_t len = read(*fd, data, blockSize * numBlocks); -#ifdef DEBUG_WIRE +#if defined DEBUG && defined DEBUG_WIRE if (len != blockSize * numBlocks) { syslog(LOG_INFO, "uploadCallback: short read [%u] != [%u]", (unsigned) len, (unsigned) (blockSize * numBlocks));
russross commented
I've removed this log message entirely. It was only necessary when I was doing initial testing, and it is quite spammy.