Issue 369: reduced log message when wire is turned on

This commit is contained in:
Adrian Cole 2010-10-26 20:55:34 -07:00
parent 562b487b15
commit b306573021
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public abstract class Wire {
out = new FileBackedOutputStream(limit); out = new FileBackedOutputStream(limit);
long bytesRead = ByteStreams.copy(instream, out); long bytesRead = ByteStreams.copy(instream, out);
if (bytesRead >= limit) if (bytesRead >= limit)
logger.warn("over limit %d/%d: wrote temp file", bytesRead, limit); logger.debug("over limit %d/%d: wrote temp file", bytesRead, limit);
wire(header, out.getSupplier().getInput()); wire(header, out.getSupplier().getInput());
return out.getSupplier().getInput(); return out.getSupplier().getInput();
} catch (IOException e) { } catch (IOException e) {