diff --git a/src/logging/index.ts b/src/logging/index.ts index 9c80675b..8eda5ae1 100644 --- a/src/logging/index.ts +++ b/src/logging/index.ts @@ -90,7 +90,7 @@ export function _setDefaultOptions( if (!serviceName) { diag.warn( - 'service.name attribute is not set, your service is unnamed and will be difficult to identify. ' + + 'service.name attribute for logging is not set, your service is unnamed and will be difficult to identify. ' + 'Set your service name using the OTEL_RESOURCE_ATTRIBUTES environment variable. ' + 'E.g. OTEL_RESOURCE_ATTRIBUTES="service.name="' );