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

SortingCollection logging should only be if DEBUG #1334

Merged
merged 1 commit into from
Mar 20, 2019

Conversation

alecw
Copy link
Contributor

@alecw alecw commented Mar 20, 2019

Description

A utility like SortingCollection should not fill log output with unnecessary output by default. Caller can enable debug output if they want to see these messages. We sometimes create a lot of SortingCollections, and these messages become annoying.

Checklist

  • Code compiles correctly
  • New tests covering changes and new functionality
  • All tests passing
  • Extended the README / documentation, if necessary
  • Is not backward compatible (breaks binary or source compatibility)

@codecov-io
Copy link

codecov-io commented Mar 20, 2019

Codecov Report

Merging #1334 into master will not change coverage.
The diff coverage is 100%.

@@             Coverage Diff             @@
##              master     #1334   +/-   ##
===========================================
  Coverage     67.822%   67.822%           
  Complexity      8253      8253           
===========================================
  Files            562       562           
  Lines          33644     33644           
  Branches        5640      5640           
===========================================
  Hits           22818     22818           
  Misses          8654      8654           
  Partials        2172      2172
Impacted Files Coverage Δ Complexity Δ
...n/java/htsjdk/samtools/util/SortingCollection.java 64.444% <100%> (ø) 16 <0> (ø) ⬇️

Copy link
Member

@lbergelson lbergelson left a comment

Choose a reason for hiding this comment

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

This seems fine to me. Any objections @tfenne?

@tfenne
Copy link
Member

tfenne commented Mar 20, 2019

No objections here.

@lbergelson lbergelson merged commit 16fecfc into samtools:master Mar 20, 2019
@lbergelson
Copy link
Member

@alecw Thank you.

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.

4 participants