From eade27e9d9379d3dfa7e59f1a6b39a6ce259cc6a Mon Sep 17 00:00:00 2001 From: Jackson Weber <47067795+JacksonWeber@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:33:32 -0700 Subject: [PATCH] Make steps to get custom console logs clear --- articles/javascript/how-to/node-sdk-logging.md | 1 + 1 file changed, 1 insertion(+) diff --git a/articles/javascript/how-to/node-sdk-logging.md b/articles/javascript/how-to/node-sdk-logging.md index 3ad8b8a720..3f3cc68db9 100644 --- a/articles/javascript/how-to/node-sdk-logging.md +++ b/articles/javascript/how-to/node-sdk-logging.md @@ -119,6 +119,7 @@ You can add richer custom logging by using [Application Insights](/azure/azure-m * Add the Application Insights SDK to your source code. * Log from Node.js by using an [npm package](https://www.npmjs.com/package/applicationinsights). + * Make sure to configure the Node.js SDK with `enableAutoCollectConsole: true` in order to collect custom console logs. * Log from your client code by using an [npm package](https://www.npmjs.com/package/@microsoft/applicationinsights-web). * Log from your [Kubernetes cluster](/azure/azure-monitor/insights/container-insights-overview) or [Azure virtual machine](/azure/azure-monitor/insights/vminsights-overview).