Remove extensive logging

This commit is contained in:
2026-02-28 16:35:15 +01:00
parent 694ced6e38
commit 0989a341e4
2 changed files with 13 additions and 11 deletions

View File

@@ -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);