Skip to content

Commit

Permalink
Change SortingCollection log statements to DEBUG (#1334)
Browse files Browse the repository at this point in the history
* previously SortingCollection emitted log messages at INFO level which could be overly verbose
  • Loading branch information
alecw authored and lbergelson committed Mar 20, 2019
1 parent a82d8ba commit 16fecfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/htsjdk/samtools/util/SortingCollection.java
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class MergingIterator implements CloseableIterator<T> {
MergingIterator() {
this.queue = new TreeSet<>(new PeekFileRecordIteratorComparator());
int n = 0;
log.info(String.format("Creating merging iterator from %d files", files.size()));
log.debug(String.format("Creating merging iterator from %d files", files.size()));
int suggestedBufferSize = checkMemoryAndAdjustBuffer(files.size());
for (final Path f : files) {
final FileRecordIterator it = new FileRecordIterator(f, suggestedBufferSize);
Expand Down

0 comments on commit 16fecfc

Please sign in to comment.