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

View File

@@ -1,13 +1,14 @@
# Target Configuration
CONFIG_IDF_TARGET="esp32c6"
# WiFi Configuration
# This file was generated using idf.py save-defconfig. It can be edited manually.
# Espressif IoT Development Framework (ESP-IDF) 5.5.2 Project Minimal Configuration
#
CONFIG_WIFI_SSID="DoNotSetTheRealValueHere"
CONFIG_WIFI_PASSWORD="PutTheRealPassInTheSdkconfigFile"
# ATECC608A Configuration
CONFIG_IDF_TARGET="esp32c6"
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_ESP_MAIN_TASK_STACK_SIZE=24000
CONFIG_ATECC608A_TCUSTOM=y
CONFIG_ATCA_I2C_SDA_PIN=22
CONFIG_ATCA_I2C_SCL_PIN=23
CONFIG_ATCA_I2C_ADDRESS=0xC0
CONFIG_ATCA_I2C_BAUD_RATE=1000000
CONFIG_ATECC608A_TCUSTOM=y
CONFIG_LIBSSH2_DEBUG_ENABLE=n