From 81e0b104e87bebf690f542ea56ef23dcc424d4f1 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Wed, 23 Aug 2023 10:45:46 +0200 Subject: [PATCH] Move pre-allocating message to blockstorage log --- src/flatfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flatfile.cpp b/src/flatfile.cpp index 59861a08adfee..5ecb1862c180c 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) { - LogPrint(BCLog::VALIDATION, "Pre-allocating up to position 0x%x in %s%05u.dat\n", new_size, m_prefix, pos.nFile); + LogPrintLevel(BCLog::BLOCKSTORAGE, BCLog::Level::Debug, "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;