aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2021-02-10 20:46:25 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2021-02-10 20:46:25 +0000
commit25f899cc23a791c08e19acae91bebda6c3538d37 (patch)
tree50bc4030f47d6c47e48051c3ae6877c8d65662db
parentacd7980b37b5a71f324f7772d72175c8bd7ab900 (diff)
downloadbitcoin-25f899cc23a791c08e19acae91bebda6c3538d37.tar.xz
log: Move "Pre-allocating up to position 0x[...] in [...].dat" log message to debug category
-rw-r--r--src/flatfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flatfile.cpp b/src/flatfile.cpp
index 11cf357f3d..151f1a38f1 100644
--- a/src/flatfile.cpp
+++ b/src/flatfile.cpp
@@ -66,7 +66,7 @@ size_t FlatFileSeq::Allocate(const FlatFilePos& pos, size_t add_size, bool& out_
if (CheckDiskSpace(m_dir, inc_size)) {
FILE *file = Open(pos);
if (file) {
- LogPrintf("Pre-allocating up to position 0x%x in %s%05u.dat\n", new_size, m_prefix, pos.nFile);
+ LogPrint(BCLog::VALIDATION, "Pre-allocating up to position 0x%x in %s%05u.dat\n", new_size, m_prefix, pos.nFile);
AllocateFileRange(file, pos.nPos, inc_size);
fclose(file);
return inc_size;