mirror of https://github.com/apache/jclouds.git
Issue 369: reduced log message when wire is turned on
This commit is contained in:
parent
562b487b15
commit
b306573021
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue