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

[Datadog] Lograge warn #2599

Open
1 of 5 tasks
christinach opened this issue Jan 17, 2025 · 0 comments
Open
1 of 5 tasks

[Datadog] Lograge warn #2599

christinach opened this issue Jan 17, 2025 · 0 comments
Labels
maintenance Ticket related to maintenance that needs to be done

Comments

@christinach
Copy link
Member

What maintenance needs to be done?

This is one of the warnings on the box when you run a command. (e.g rake task)

WARN -- datadog: [datadog] Lograge and ActiveSupport::TaggedLogging (the default Rails log formatter) are not compatible: Lograge does not account for Rails log tags, creating polluted logs and breaking log formatting. Traces and Logs correlation may not work. Either: 1. Disable tagged logging in your Rails configuration `config.logger = ActiveSupport::Logger.new(STDOUT); config.active_job.logger = ActiveSupport::Logger.new(STDOUT)` or 2. Use the `semantic_logger` gem instead of `lograge`.

Level of urgency

  • High
  • Moderate
  • Low

EOL upgrade

  • EOL Date MM/DD/YYYY

Why is this maintenance needed?

  • A clear description of why this is needed.

Acceptance criteria

There is no Lograge warning.

  • If this change touches any of the files referenced in .rubocop_todo.yml create a new ticket to address the rubocop todo.

Implementation notes, if any

@christinach christinach added the maintenance Ticket related to maintenance that needs to be done label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Ticket related to maintenance that needs to be done
Projects
None yet
Development

No branches or pull requests

1 participant