Skip to content

Conversation

@deborahgu
Copy link
Member

Make sure that the call to get_logger happens after the configuration file overrides have a chance to set LOGGING_FORMAT_STRING.

FIXES: APER-3805

Run JavaScript tests locally with Karma

There is work being done on a fix to get Karma to run in CI. Until then, however, contributors are required to run these tests locally.

  • Make sure you are inside the devstack container
  • Run make test-karma
  • All tests pass

Make sure that the call to `get_logger`  happens after the configuration
file overrides have a chance to set `LOGGING_FORMAT_STRING`.

FIXES: APER-3805
@deborahgu deborahgu requested a review from a team as a code owner December 6, 2024 17:20
Comment on lines +50 to +52
# make sure this happens after the configuration file overrides so format string can be overridden
LOGGING = get_logger_config(format_string=LOGGING_FORMAT_STRING)

Copy link
Contributor

@justinhynes justinhynes Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:bonks own forhead: yeah, this makes sense 🤞

@deborahgu deborahgu merged commit e3f24fd into master Dec 6, 2024
9 checks passed
@deborahgu deborahgu deleted the dkaplan1/APER-3805_take-4-fix-datadog-log-parsing branch December 6, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants