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

chore(NODE-5903): add newline to stdio logging #4018

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

aditi-khare-mongoDB
Copy link
Contributor

@aditi-khare-mongoDB aditi-khare-mongoDB commented Mar 5, 2024

Description

What is changing?

Added newline to create stdio logger.
Updated stdio logging tests to expect newline.

Is there new documentation needed for these changes?

No.

What is the motivation for this change?

To ensure all stdio logs are not just on one line.

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@aditi-khare-mongoDB aditi-khare-mongoDB marked this pull request as ready for review March 5, 2024 18:33
@nbbeeken nbbeeken changed the title fix(NODE-5903): Add newline to stdio logging. chore(NODE-5903): add newline to stdio logging Mar 5, 2024
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

LGTM, I changed to a refactor since this is so small and would be omitted from the release notes anyway since logging isn't ready yet.

@nbbeeken nbbeeken self-assigned this Mar 5, 2024
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Mar 5, 2024
@nbbeeken nbbeeken merged commit 7eaf2c8 into main Mar 5, 2024
16 of 26 checks passed
@nbbeeken nbbeeken deleted the NODE-5903/add-newline-to-stdio-logging branch March 5, 2024 18:42
aditi-khare-mongoDB added a commit that referenced this pull request Mar 8, 2024
synced new test files

added support for error response

added api docs

made MongoServerError.errorResponse required + casted resulting type errors

test(NODE-5992): fix env var restoration in tests (#4017)

refactor(NODE-5903): add newline to stdio logging (#4018)

fix(NODE-5985): throw Nodejs' certificate expired error when TLS fails to connect instead of `CERT_HAS_EXPIRED` (#4014)

test(NODE-5962): gossip cluster time in utr (#4019)

chore(NODE-5997): update saslprep to ^1.1.5 (#4023)

feat(NODE-5968): container and Kubernetes awareness in client metadata (#4005)

fix(NODE-5993): memory leak in the `Connection` class (#4022)

added TODO(NODE-XXXX)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
2 participants