Remove extensive logging
This commit is contained in:
@@ -286,7 +286,6 @@ public:
|
||||
unsigned short port = 22;
|
||||
void *my_abstract = NULL;
|
||||
LIBSSH2_SESSION *session;
|
||||
LIBSSH2_CHANNEL *channel;
|
||||
|
||||
ESP_LOGI(TAG, "libssh2_version is %s", LIBSSH2_VERSION);
|
||||
int rc = libssh2_init(0);
|
||||
@@ -349,8 +348,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
libssh2_trace(session, ~0);
|
||||
libssh2_trace_sethandler(session, NULL, my_trace_handler);
|
||||
// Enables extensive logging from libssh2
|
||||
// Needs debug logging enabled in menuconfig > components > libssh2
|
||||
// libssh2_trace(session, ~0);
|
||||
// libssh2_trace_sethandler(session, NULL, my_trace_handler);
|
||||
|
||||
printf("Session initialized. Setting timeout...\n");
|
||||
// libssh2_session_set_timeout(session, 10000);
|
||||
|
||||
Reference in New Issue
Block a user