Skip to content

Commit 92f9cea

Browse files
committed
reduce some Output Consumer logs to debug
1 parent e3e9157 commit 92f9cea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sftp/src/sftphandler/sftpoutputchannelhandler.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,17 @@ impl<'a, const N: usize> SftpOutputConsumer<'a, N> {
118118
scanning_buffer.len()
119119
);
120120
let wl = self.ssh_chan_out.write(scanning_buffer).await?;
121-
debug!("Output Consumer: Written {:?} bytes ", wl);
121+
trace!("Output Consumer: Written {:?} bytes ", wl);
122122
if wl< scanning_buffer.len() {
123-
debug!("Output Consumer: ChanOut accepted only part of the buffer");
123+
trace!("Output Consumer: ChanOut accepted only part of the buffer");
124124
}
125125
trace!(
126126
"Output Consumer: Bytes written {:?}",
127127
&scanning_buffer[..wl]
128128
);
129129
scanning_buffer = &scanning_buffer[wl..];
130130
}
131-
debug!("Output Consumer: Finished writing all bytes in read buffer");
131+
trace!("Output Consumer: Finished writing all bytes in read buffer");
132132
} else {
133133
error!("Output Consumer: Empty array received");
134134
}

0 commit comments

Comments
 (0)