From 0013ad5bb9da1520e0e48450c66c35205ee86417 Mon Sep 17 00:00:00 2001 From: AndriiFilippov Date: Fri, 29 Jul 2022 14:19:30 +0200 Subject: [PATCH] Replaced logging tags with lower case in tcp_transport component to unite all tags under common structure. --- components/tcp_transport/transport.c | 2 +- components/tcp_transport/transport_internal.c | 2 +- components/tcp_transport/transport_ssl.c | 2 +- components/tcp_transport/transport_ws.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/tcp_transport/transport.c b/components/tcp_transport/transport.c index b7d504e71e..5ec2195125 100644 --- a/components/tcp_transport/transport.c +++ b/components/tcp_transport/transport.c @@ -15,7 +15,7 @@ #include "esp_transport_internal.h" #include "esp_transport.h" -static const char *TAG = "TRANSPORT"; +static const char *TAG = "transport"; /** * This list will hold all transport available diff --git a/components/tcp_transport/transport_internal.c b/components/tcp_transport/transport_internal.c index 33354686e7..08e8c82648 100644 --- a/components/tcp_transport/transport_internal.c +++ b/components/tcp_transport/transport_internal.c @@ -6,7 +6,7 @@ #include "esp_transport_internal.h" -static const char *TAG = "TRANSPORT"; +static const char *TAG = "transport"; struct timeval* esp_transport_utils_ms_to_timeval(int timeout_ms, struct timeval *tv) { if (timeout_ms == -1) { diff --git a/components/tcp_transport/transport_ssl.c b/components/tcp_transport/transport_ssl.c index bb352461fd..bd86b37a2c 100644 --- a/components/tcp_transport/transport_ssl.c +++ b/components/tcp_transport/transport_ssl.c @@ -20,7 +20,7 @@ transport_esp_tls_t *ssl = ssl_get_context_data(t); \ if (!ssl) { return; } -static const char *TAG = "TRANSPORT_BASE"; +static const char *TAG = "transport_base"; typedef enum { TRANS_SSL_INIT = 0, diff --git a/components/tcp_transport/transport_ws.c b/components/tcp_transport/transport_ws.c index 7004660f45..c0d91a1579 100644 --- a/components/tcp_transport/transport_ws.c +++ b/components/tcp_transport/transport_ws.c @@ -17,7 +17,7 @@ #include "errno.h" #include "esp_tls_crypto.h" -static const char *TAG = "TRANSPORT_WS"; +static const char *TAG = "transport_ws"; #define WS_BUFFER_SIZE CONFIG_WS_BUFFER_SIZE #define WS_FIN 0x80