ARTEMIS-4191 Adding logger.debug on JournalImpl::needsCompact
This commit is contained in:
parent
dc7d1e25cc
commit
de7920d68a
|
@ -2595,6 +2595,12 @@ public class JournalImpl extends JournalBase implements TestableJournal, Journal
|
|||
|
||||
boolean needCompact = totalLiveSize < compactMargin && dataFiles.length > compactMinFiles;
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("JournalImpl::needsCompact={}, totalBytes={}, dataFiles.length={}, fileSize={}, compactMargin={}, compactingPercentage={}," +
|
||||
"compactMinFiles={}", needCompact, totalBytes, dataFiles.length, fileSize,
|
||||
compactMargin, compactPercentage, compactMinFiles);
|
||||
}
|
||||
|
||||
return needCompact;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue