From 3227a9665aad52251ff54a5f791921ac85fbeadc Mon Sep 17 00:00:00 2001 From: Simplychee Date: Wed, 4 Dec 2024 16:07:23 +0200 Subject: [PATCH] fixing note --- docs/shipping/Code/node-js.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/shipping/Code/node-js.md b/docs/shipping/Code/node-js.md index 9aee2b5c..a566d9b8 100644 --- a/docs/shipping/Code/node-js.md +++ b/docs/shipping/Code/node-js.md @@ -403,9 +403,9 @@ If you need an example aplication to test this integration, please refer to our Update the `listener.logz.io` part in `https://otlp-listener.logz.io/v1/logs` with the URL for [your hosting region](https://docs.logz.io/docs/user-guide/admin/hosting-regions/account-region). - :::note - If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<>.logz.io/v1/logs`. - ::: +:::note +If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<>.logz.io/v1/logs`. +::: 3. Run the application. @@ -477,9 +477,9 @@ This integration uses the OpenTelemetry logging exporter to send logs to Logz.io Update the `listener.logz.io` part in `https://otlp-listener.logz.io/v1/logs` with the URL for [your hosting region](https://docs.logz.io/docs/user-guide/admin/hosting-regions/account-region). - :::note - If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<>.logz.io/v1/logs`. - ::: +:::note +If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<>.logz.io/v1/logs`. +::: 3. Once you have configured the logger, import it into your application (e.g., `server.ts`) and start logging.