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

Improve logger #175

Merged
merged 5 commits into from
Jul 1, 2020
Merged

Improve logger #175

merged 5 commits into from
Jul 1, 2020

Conversation

scotthavens
Copy link
Contributor

The logging.basicConfig makes a lot of assumptions that were creating some issues in the test environment. Now uses the dictConfig to create the logger directly with much more control. Works with both streaming and file handlers.

@scotthavens scotthavens requested a review from jomey July 1, 2020 20:09
@coveralls
Copy link

Pull Request Test Coverage Report for Build 331

  • 22 of 23 (95.65%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 79.028%

Changes Missing Coverage Covered Lines Changed/Added Lines %
smrf/framework/logger.py 15 16 93.75%
Totals Coverage Status
Change from base Build 329: -0.02%
Covered Lines: 3399
Relevant Lines: 4301

💛 - Coveralls

Copy link
Collaborator

@jomey jomey left a comment

Choose a reason for hiding this comment

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

Nice consolidation.

@scotthavens scotthavens merged commit b870277 into USDA-ARS-NWRC:master Jul 1, 2020
@scotthavens scotthavens deleted the 174_logger branch July 1, 2020 20:34
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