summaryrefslogtreecommitdiffstats
path: root/src/channels.c
diff options
context:
space:
mode:
authorGangadhar Sandrani <gangadhar.sandrani@gmail.com>2014-04-22 09:35:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-04-22 09:35:33 +0200
commitd6e6a453fc2b362174e9e0a8669574283b515245 (patch)
tree81dd0ad1d15f9b6b31b4f6883ba315afc71b4ee4 /src/channels.c
parenteb86fd8cdfd69f46c60bf0885a2125285e4a22b3 (diff)
downloadlibssh-d6e6a453fc2b362174e9e0a8669574283b515245.tar.gz
libssh-d6e6a453fc2b362174e9e0a8669574283b515245.tar.xz
libssh-d6e6a453fc2b362174e9e0a8669574283b515245.zip
log: Fix log levels.
Signed-off-by: Gangadhar Sandrani <gangadhar.sandrani@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/channels.c b/src/channels.c
index dd91bae1..71ef3901 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -507,7 +507,7 @@ SSH_PACKET_CALLBACK(channel_rcv_data){
}
len = ssh_string_len(str);
- SSH_LOG(SSH_LOG_PROTOCOL,
+ SSH_LOG(SSH_LOG_PACKET,
"Channel receiving %" PRIdS " bytes data in %d (local win=%d remote win=%d)",
len,
is_stderr,
@@ -535,7 +535,7 @@ SSH_PACKET_CALLBACK(channel_rcv_data){
channel->local_window = 0; /* buggy remote */
}
- SSH_LOG(SSH_LOG_PROTOCOL,
+ SSH_LOG(SSH_LOG_PACKET,
"Channel windows are now (local win=%d remote win=%d)",
channel->local_window,
channel->remote_window);
@@ -870,7 +870,7 @@ int channel_default_bufferize(ssh_channel channel, void *data, int len,
return -1;
}
- SSH_LOG(SSH_LOG_RARE,
+ SSH_LOG(SSH_LOG_PACKET,
"placing %d bytes into channel buffer (stderr=%d)", len, is_stderr);
if (is_stderr == 0) {
/* stdout */
@@ -1405,7 +1405,7 @@ static int channel_write_common(ssh_channel channel,
return SSH_ERROR;
}
- SSH_LOG(SSH_LOG_RARE,
+ SSH_LOG(SSH_LOG_PACKET,
"channel_write wrote %ld bytes", (long int) effectivelen);
channel->remote_window -= effectivelen;
@@ -2810,7 +2810,7 @@ int ssh_channel_read_timeout(ssh_channel channel,
* We may have problem if the window is too small to accept as much data
* as asked
*/
- SSH_LOG(SSH_LOG_PROTOCOL,
+ SSH_LOG(SSH_LOG_PACKET,
"Read (%d) buffered : %d bytes. Window: %d",
count,
buffer_get_rest_len(stdbuf),