From f0351ff3782890babe0c0e5ed1ff08ea9cb7cb39 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 18 Feb 2021 10:09:47 +1100 Subject: [PATCH] esp_websocket_client: Don't log the filename when logging "Websocket already stop" Progress towards https://jira.espressif.com:8443/browse/IDFGH-4477 * Original commit: espressif/esp-idf@10bde42551b479bd4bfccc9d3c6d983f8abe0b87 --- components/esp_websocket_client/esp_websocket_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_websocket_client/esp_websocket_client.c b/components/esp_websocket_client/esp_websocket_client.c index 055a23772..5055736d4 100644 --- a/components/esp_websocket_client/esp_websocket_client.c +++ b/components/esp_websocket_client/esp_websocket_client.c @@ -58,7 +58,7 @@ static const char *TAG = "WEBSOCKET_CLIENT"; } #define ESP_WS_CLIENT_STATE_CHECK(TAG, a, action) if ((a->state) < WEBSOCKET_STATE_INIT) { \ - ESP_LOGE(TAG,"%s:%d (%s): %s", __FILE__, __LINE__, __FUNCTION__, "Websocket already stop"); \ + ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Websocket already stop"); \ action; \ }