Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't figure out what 'undefined' means #3026

Closed
hwooo opened this issue Apr 21, 2023 · 2 comments
Closed

I can't figure out what 'undefined' means #3026

hwooo opened this issue Apr 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@hwooo
Copy link

hwooo commented Apr 21, 2023

Environment

  • Operation system: macOS/Linux
  • Node.js version: 16
  • Tracer version: 3.10

pic

import tracer from 'dd-trace';

tracer.init({
  logInjection: true,
  service: process.env.DD_SERVICE,
  version: process.env.DD_VERSION,
});

export default tracer;

Every datadog log has undefind text after 'Info'.
How can I pass right value to this? I can't figure out which options is related to.

@hwooo hwooo added the bug Something isn't working label Apr 21, 2023
@tlhunter
Copy link
Member

Are you using a logging package? The output kind of appears to be console.log() output, which by default has yellow numbers and green strings, which makes me think it's for local debugging instead of outputting well-formed, parseable data?

@tlhunter
Copy link
Member

Looks like this is stale so you might have found the solution by now. I'll close it but feel free to reopen if it's still applicable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants