forked from Qortal/qortal
Reduce log spam.
This commit is contained in:
parent
0d17f02191
commit
347d799d85
@ -57,7 +57,7 @@ public class BlockArchiveWriter {
|
|||||||
final int maxArchiveHeight = BlockArchiveWriter.getMaxArchiveHeight(repository);
|
final int maxArchiveHeight = BlockArchiveWriter.getMaxArchiveHeight(repository);
|
||||||
final int actualArchiveHeight = repository.getBlockArchiveRepository().getBlockArchiveHeight();
|
final int actualArchiveHeight = repository.getBlockArchiveRepository().getBlockArchiveHeight();
|
||||||
final float progress = (float)actualArchiveHeight / (float) maxArchiveHeight;
|
final float progress = (float)actualArchiveHeight / (float) maxArchiveHeight;
|
||||||
LOGGER.info(String.format("maxArchiveHeight: %d, actualArchiveHeight: %d, progress: %f",
|
LOGGER.debug(String.format("maxArchiveHeight: %d, actualArchiveHeight: %d, progress: %f",
|
||||||
maxArchiveHeight, actualArchiveHeight, progress));
|
maxArchiveHeight, actualArchiveHeight, progress));
|
||||||
|
|
||||||
// If archiver is within 95% of the maximum, treat it as up to date
|
// If archiver is within 95% of the maximum, treat it as up to date
|
||||||
|
Loading…
x
Reference in New Issue
Block a user