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

BCDA-3536 - Resolve issue with incorrect logging of func/filename #51

Merged
merged 2 commits into from Aug 21, 2020

Conversation

mtrang1263
Copy link
Contributor

Fixes BCDA-3536

We were seeing the incorrect logging name/file when using logrus#SetReportCaller(true).

This was related to an issue with our version of logrus and Go 1.14.

More details here: sirupsen/logrus#1096
Resolved here: sirupsen/logrus#1108

Change Details

  1. Upgrade logrus to latest tagged version (v1.6.0) which includes the PR referenced above.

Security Implications

  • new software dependencies

Newer version of logrus introduced in this PR.

  • security controls or supporting software altered
  • new data stored or transmitted
  • security checklist is completed for this change
  • requires more information or team discussion to evaluate security implications
  • no PHI/PII is affected by this change

Acceptance Validation

Verified locally that logging information is fixed after updating to v1.6.0

Copy link
Contributor

@msnook msnook left a comment

Choose a reason for hiding this comment

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

👍

@mtrang1263 mtrang1263 merged commit e35e9e0 into master Aug 21, 2020
@mtrang1263 mtrang1263 deleted the martin/BCDA-3536-fix-logging branch August 21, 2020 20:06
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.

None yet

3 participants