Skip to content

Commit

Permalink
Merge pull request bitcoin#284 from ideawu/master
Browse files Browse the repository at this point in the history
log compaction output file's level along with number
  • Loading branch information
cmumford committed Jan 12, 2016
2 parents 8ec241a + 76bba13 commit dac40d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,9 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
delete iter;
if (s.ok()) {
Log(options_.info_log,
"Generated table #%llu: %lld keys, %lld bytes",
"Generated table #%llu@%d: %lld keys, %lld bytes",
(unsigned long long) output_number,
compact->compaction->level(),
(unsigned long long) current_entries,
(unsigned long long) current_bytes);
}
Expand Down

0 comments on commit dac40d2

Please sign in to comment.