Skip to content

Commit

Permalink
Change log msg
Browse files Browse the repository at this point in the history
  • Loading branch information
mhennoch committed Feb 12, 2024
1 parent 01a4edb commit 67ddafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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=<YOUR_SERVICE_NAME_HERE>"'
);
Expand Down

0 comments on commit 67ddafa

Please sign in to comment.