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

fix: enhanced Logger to accept a log file location #2298

Merged
merged 9 commits into from
Jun 3, 2024

Conversation

jeromy-cannon
Copy link
Contributor

@jeromy-cannon jeromy-cannon commented May 23, 2024

Description:

  • enhanced Logger to accept a log file location
  • fixed some jsdoc mispellings
  • added src/grpc/GrpcServiceError.js toString() method, updated message, and add caused by stack trace
  • increased timeouts on some tests to prevent random failures in the pipeline when under a load
  • increased Logger test coverage
  • added sinon library for spy capabilities
  • added cgroup configuration and calls to build workflow to fix issue where GitHub runner loses communication with GitHub

Related issue(s):

Fixes #2297

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Jeromy Cannon <[email protected]>
@jeromy-cannon jeromy-cannon self-assigned this May 23, 2024
@jeromy-cannon jeromy-cannon changed the title added log to file capability fix: enhanced Logger to accept a log file location May 23, 2024
@jeromy-cannon jeromy-cannon marked this pull request as ready for review May 23, 2024 20:22
@jeromy-cannon jeromy-cannon requested review from a team as code owners May 23, 2024 20:22
src/grpc/GrpcServiceError.js Outdated Show resolved Hide resolved
src/grpc/GrpcStatus.js Outdated Show resolved Hide resolved
test/unit/LoggerTest.js Show resolved Hide resolved
jeromy-cannon and others added 2 commits May 29, 2024 06:50
Co-authored-by: Alexander Gadzhalov <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Copy link

sonarcloud bot commented May 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@agadzhalov agadzhalov left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @jeromy-cannon

@jeromy-cannon jeromy-cannon merged commit aa5411c into main Jun 3, 2024
9 checks passed
@jeromy-cannon jeromy-cannon deleted the 02297-log-to-file branch June 3, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable logger constructor to accept a log file destination
4 participants